{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scale AI","colors":{"primary":"#3f2e7b","light":"#ca62ff","dark":"#3f2e7b"},"logo":{"light":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b","dark":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/dark.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=02733f39d684d796ec742853eabf0de5"},"favicon":"https://mintcdn.com/scalegp/1vQnbXFkjbQbcgd1/favicon.png?fit=max\u0026auto=format\u0026n=1vQnbXFkjbQbcgd1\u0026q=85\u0026s=f52c84ba46a7cca58551673616dabe9c","background":{"decoration":"windows"},"navbar":{"links":[],"primary":{"type":"button","label":"Platform","href":"https://app.sgp.scale.com/"}},"footer":{"socials":{"x":"https://x.com/scale_ai","facebook":"https://www.facebook.com/scaleapi","linkedin":"https://www.linkedin.com/company/scaleai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scalegp","hasAudioNarration":false,"actualSubdomain":"scalegp","customDomains":["docs.gp.scale.com"],"gitSource":{"type":"github","owner":"scaleapi","repo":"sgp-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648","collectionId":"437f531c-55bf-41b5-8f5d-4e63781df61e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6abeb90f3a8b8379c1eaf648","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"default","tag":"API Reference","count":235},{"language":"default","tag":"AgentOps API","count":141},{"language":"default","tag":"Guides","count":131},{"language":"default","tag":"Agentex API","count":94},{"language":"default","tag":"Evaluations","count":72},{"language":"default","tag":"Dex API","count":48},{"language":"default","tag":"Agents","count":41},{"language":"default","tag":"Evaluation Datasets","count":34},{"language":"default","tag":"Models","count":32},{"language":"default","tag":"Knowledge Bases","count":31}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:'Aeonik';src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2);font-weight:400;font-style:normal;font-display:swap}h1,h2,h3{font-family:'aeonik';letter-spacing:normal!important}"}],"page":{"pagePath":"reference/agentex/agents/handle-agent-rpc-by-id","slug":"/reference/agentex/agents/handle-agent-rpc-by-id","pageMetadata":{"title":"Handle Agent RPC by ID","description":"Handle JSON-RPC requests for an agent by its unique ID.","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/rpc","href":"/reference/agentex/agents/handle-agent-rpc-by-id","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Handle JSON-RPC requests for an agent by its unique ID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Handle Agent RPC by ID","description":"Handle JSON-RPC requests for an agent by its unique ID.","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/rpc","href":"/reference/agentex/agents/handle-agent-rpc-by-id","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Agents"],"summary":"Handle Agent RPC by ID","description":"Handle JSON-RPC requests for an agent by its unique ID.","operationId":"handle_agent_rpc_by_id_agents__agent_id__rpc_post","parameters":["56506a74-898e-4e83-96f8-fadac0478b38"],"requestBody":"de77d7e4-78e5-4ef6-9fb1-106536963c10","responses":{"200":"814dd888-7da1-420a-a3fa-670023af928e","422":"25d61c36-9d2e-489a-9feb-eeb83ab594ee"},"method":"post","type":"path","servers":[],"security":[],"path":"/agents/{agent_id}/rpc","baseUrlOptions":[],"title":"Handle Agent RPC by ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"56506a74-898e-4e83-96f8-fadac0478b38":{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method":{"type":"string","enum":["event/send","task/create","message/send","task/cancel","task/interrupt"],"title":"AgentRPCMethod","isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"params":{"oneOf":[{"type":"object","title":"CreateTaskRequest","description":"The parameters for the agent RPC request","properties":{"name":{"oneOf":[{"type":"string","title":"Name","description":"Optional human-readable name for the task. When set it must be globally unique. task/create is get-or-create by name: reusing an existing name returns the existing task (with its prior history) instead of creating a new one, so omit name (or make it unique, e.g. by appending a UUID) whenever each call should produce a fresh task.","uniqueKey":"params.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"Optional human-readable name for the task. When set it must be globally unique. task/create is get-or-create by name: reusing an existing name returns the existing task (with its prior history) instead of creating a new one, so omit name (or make it unique, e.g. by appending a UUID) whenever each call should produce a fresh task.","uniqueKey":"params.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.0.name","typeLabel":"string | null"},"params":{"oneOf":[{"type":"object","title":"Params","description":"The parameters for the task. On a get-or-create by name, providing params overwrites the existing task's params (it is not a pure read).","additionalProperties":true,"uniqueKey":"params.oneOf.0.params.oneOf.0","typeLabel":"Params · object"},{"type":"null","title":"Params","description":"The parameters for the task. On a get-or-create by name, providing params overwrites the existing task's params (it is not a pure read).","uniqueKey":"params.oneOf.0.params.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.0.params","typeLabel":"Params · object | null"},"task_metadata":{"oneOf":[{"type":"object","title":"Task Metadata","description":"Caller-provided metadata to persist on the task row. Only applied at task creation; ignored if a task with this name already exists. Forwarded to the agent inside the ACP payload for backward compatibility.","additionalProperties":true,"uniqueKey":"params.oneOf.0.task_metadata.oneOf.0","typeLabel":"Task Metadata · object"},{"type":"null","title":"Task Metadata","description":"Caller-provided metadata to persist on the task row. Only applied at task creation; ignored if a task with this name already exists. Forwarded to the agent inside the ACP payload for backward compatibility.","uniqueKey":"params.oneOf.0.task_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.0.task_metadata","typeLabel":"Task Metadata · object | null"}},"isRequired":true,"uniqueKey":"params.oneOf.0","typeLabel":"CreateTaskRequest · object"},{"type":"object","title":"CancelTaskRequest","description":"The parameters for the agent RPC request","properties":{"task_id":{"oneOf":[{"type":"string","title":"Task Id","description":"The ID of the task to cancel. Either this or task_name must be provided.","uniqueKey":"params.oneOf.1.task_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Id","description":"The ID of the task to cancel. Either this or task_name must be provided.","uniqueKey":"params.oneOf.1.task_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.1.task_id","typeLabel":"string | null"},"task_name":{"oneOf":[{"type":"string","title":"Task Name","description":"The name of the task to cancel. Either this or task_id must be provided.","uniqueKey":"params.oneOf.1.task_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Name","description":"The name of the task to cancel. Either this or task_id must be provided.","uniqueKey":"params.oneOf.1.task_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.1.task_name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"params.oneOf.1","typeLabel":"CancelTaskRequest · object"},{"type":"object","title":"InterruptTaskRequest","description":"The parameters for the agent RPC request","properties":{"task_id":{"oneOf":[{"type":"string","title":"Task Id","description":"The ID of the task to interrupt. Either this or task_name must be provided.","uniqueKey":"params.oneOf.2.task_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Id","description":"The ID of the task to interrupt. Either this or task_name must be provided.","uniqueKey":"params.oneOf.2.task_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.2.task_id","typeLabel":"string | null"},"task_name":{"oneOf":[{"type":"string","title":"Task Name","description":"The name of the task to interrupt. Either this or task_id must be provided.","uniqueKey":"params.oneOf.2.task_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Name","description":"The name of the task to interrupt. Either this or task_id must be provided.","uniqueKey":"params.oneOf.2.task_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.2.task_name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"params.oneOf.2","typeLabel":"InterruptTaskRequest · object"},{"type":"object","title":"SendMessageRequest","description":"The parameters for the agent RPC request","required":["content"],"properties":{"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The message that was sent to the agent","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"params.oneOf.3.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.3.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"params.oneOf.3.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"params.oneOf.3.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The message that was sent to the agent","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"params.oneOf.3.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"params.oneOf.3.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.3.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"params.oneOf.3.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"params.oneOf.3.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"params.oneOf.3.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The message that was sent to the agent","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"params.oneOf.3.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.3.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The message that was sent to the agent","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"params.oneOf.3.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.3.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The message that was sent to the agent","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"params.oneOf.3.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.3.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"params.oneOf.3.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"params.oneOf.3.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"params.oneOf.3.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"params.oneOf.3.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"task_id":{"oneOf":[{"type":"string","title":"Task Id","description":"The ID of the task that the message was sent to","uniqueKey":"params.oneOf.3.task_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Id","description":"The ID of the task that the message was sent to","uniqueKey":"params.oneOf.3.task_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.task_id","typeLabel":"string | null"},"task_name":{"oneOf":[{"type":"string","title":"Task Name","description":"The name of the task that the message was sent to","uniqueKey":"params.oneOf.3.task_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Name","description":"The name of the task that the message was sent to","uniqueKey":"params.oneOf.3.task_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.task_name","typeLabel":"string | null"},"stream":{"type":"boolean","title":"Stream","description":"Whether to stream the response message back to the client","default":false,"uniqueKey":"params.oneOf.3.stream","typeLabel":"boolean"},"task_params":{"oneOf":[{"type":"object","title":"Task Params","description":"The parameters for the task (only used when creating new tasks)","additionalProperties":true,"uniqueKey":"params.oneOf.3.task_params.oneOf.0","typeLabel":"Task Params · object"},{"type":"null","title":"Task Params","description":"The parameters for the task (only used when creating new tasks)","uniqueKey":"params.oneOf.3.task_params.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.3.task_params","typeLabel":"Task Params · object | null"}},"isRequired":true,"uniqueKey":"params.oneOf.3","typeLabel":"SendMessageRequest · object"},{"type":"object","title":"SendEventRequest","description":"The parameters for the agent RPC request","properties":{"task_id":{"oneOf":[{"type":"string","title":"Task Id","description":"The ID of the task that the event was sent to","uniqueKey":"params.oneOf.4.task_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Id","description":"The ID of the task that the event was sent to","uniqueKey":"params.oneOf.4.task_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.task_id","typeLabel":"string | null"},"task_name":{"oneOf":[{"type":"string","title":"Task Name","description":"The name of the task that the event was sent to","uniqueKey":"params.oneOf.4.task_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Name","description":"The name of the task that the event was sent to","uniqueKey":"params.oneOf.4.task_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.task_name","typeLabel":"string | null"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content to send to the event","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"params.oneOf.4.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.4.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"params.oneOf.4.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"params.oneOf.4.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"uniqueKey":"params.oneOf.4.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content to send to the event","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"params.oneOf.4.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"params.oneOf.4.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.4.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"params.oneOf.4.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"params.oneOf.4.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"params.oneOf.4.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.content.oneOf.1.content","typeLabel":"string[] | null"}},"uniqueKey":"params.oneOf.4.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content to send to the event","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"params.oneOf.4.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.4.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"params.oneOf.4.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content to send to the event","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"params.oneOf.4.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.4.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"params.oneOf.4.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content to send to the event","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"params.oneOf.4.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"params.oneOf.4.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"params.oneOf.4.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"params.oneOf.4.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"params.oneOf.4.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"uniqueKey":"params.oneOf.4.content.oneOf.4","typeLabel":"ToolResponseContent · object"},{"type":"null","description":"The content to send to the event","uniqueKey":"params.oneOf.4.content.oneOf.5","typeLabel":"null"}],"uniqueKey":"params.oneOf.4.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object | null"}},"isRequired":true,"uniqueKey":"params.oneOf.4","typeLabel":"SendEventRequest · object"}],"isRequired":true,"uniqueKey":"params","typeLabel":"CreateTaskRequest · object | CancelTaskRequest · object | InterruptTaskRequest · object | SendMessageRequest · object | SendEventRequest · object"},"jsonrpc":{"type":"string","const":"2.0","title":"Jsonrpc","default":"2.0","uniqueKey":"jsonrpc","typeLabel":"string"},"id":{"oneOf":[{"type":"integer","title":"Id","uniqueKey":"id.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Id","uniqueKey":"id.oneOf.1","typeLabel":"string"},{"type":"null","title":"Id","uniqueKey":"id.oneOf.2","typeLabel":"null"}],"uniqueKey":"id","typeLabel":"integer | string | null"}},"type":"object","required":["method","params"],"title":"AgentRPCRequest","uniqueKey":"","typeLabel":"AgentRPCRequest · object"},"examples":{"Example":{"title":"Example","value":{"params":{"name":"\u003cstring>","params":{},"task_metadata":{}},"jsonrpc":"2.0","id":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"814dd888-7da1-420a-a3fa-670023af928e":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"result":{"oneOf":[{"type":"array","items":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"ID of the task this message belongs to","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].task_id","typeLabel":"string"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.0.items.[INDEX].content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].id","typeLabel":"string | null"},"streaming_status":{"oneOf":[{"type":"string","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","enum":["IN_PROGRESS","DONE"],"uniqueKey":"result.oneOf.0.items.[INDEX].streaming_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","uniqueKey":"result.oneOf.0.items.[INDEX].streaming_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].streaming_status","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp when the message was created","format":"date-time","uniqueKey":"result.oneOf.0.items.[INDEX].created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp when the message was created","uniqueKey":"result.oneOf.0.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"The timestamp when the message was last updated","format":"date-time","uniqueKey":"result.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"The timestamp when the message was last updated","uniqueKey":"result.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["task_id","content"],"title":"TaskMessage","description":"Represents a message in the agent system.\n\nThis entity is used to store messages in MongoDB, with each message\nassociated with a specific task.","uniqueKey":"result.oneOf.0.items.[INDEX]","typeLabel":"TaskMessage · object"},"title":"AgentRPCResult","description":"The result of the agent RPC request","isRequired":true,"uniqueKey":"result.oneOf.0","typeLabel":"TaskMessage · object[]"},{"type":"object","title":"StreamTaskMessageStart","description":"Event for starting a streaming message","required":["content"],"properties":{"content":{"oneOf":[{"type":"object","title":"TextContent","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.1.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.1.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.1.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.1.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.1.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.1.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.1.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.1.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.1.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.1.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.1.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.1.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.1.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.1.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"type":{"type":"string","const":"start","title":"Type","default":"start","uniqueKey":"result.oneOf.1.type","typeLabel":"string"},"index":{"oneOf":[{"type":"integer","title":"Index","uniqueKey":"result.oneOf.1.index.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Index","uniqueKey":"result.oneOf.1.index.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.index","typeLabel":"integer | null"},"parent_task_message":{"oneOf":[{"type":"object","title":"TaskMessage","description":"Represents a message in the agent system.\n\nThis entity is used to store messages in MongoDB, with each message\nassociated with a specific task.","required":["task_id","content"],"properties":{"task_id":{"type":"string","title":"Task Id","description":"ID of the task this message belongs to","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.task_id","typeLabel":"string"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.id","typeLabel":"string | null"},"streaming_status":{"oneOf":[{"type":"string","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","enum":["IN_PROGRESS","DONE"],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.streaming_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.streaming_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.streaming_status","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp when the message was created","format":"date-time","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp when the message was created","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"The timestamp when the message was last updated","format":"date-time","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"The timestamp when the message was last updated","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0.updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"result.oneOf.1.parent_task_message.oneOf.0","typeLabel":"TaskMessage · object"},{"type":"null","uniqueKey":"result.oneOf.1.parent_task_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.parent_task_message","typeLabel":"TaskMessage · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.1","typeLabel":"StreamTaskMessageStart · object"},{"type":"object","title":"StreamTaskMessageDelta","description":"Event for streaming chunks of content","properties":{"type":{"type":"string","const":"delta","title":"Type","default":"delta","uniqueKey":"result.oneOf.2.type","typeLabel":"string"},"index":{"oneOf":[{"type":"integer","title":"Index","uniqueKey":"result.oneOf.2.index.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Index","uniqueKey":"result.oneOf.2.index.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.index","typeLabel":"integer | null"},"parent_task_message":{"oneOf":[{"type":"object","title":"TaskMessage","description":"Represents a message in the agent system.\n\nThis entity is used to store messages in MongoDB, with each message\nassociated with a specific task.","required":["task_id","content"],"properties":{"task_id":{"type":"string","title":"Task Id","description":"ID of the task this message belongs to","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.task_id","typeLabel":"string"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.id","typeLabel":"string | null"},"streaming_status":{"oneOf":[{"type":"string","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","enum":["IN_PROGRESS","DONE"],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.streaming_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.streaming_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.streaming_status","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp when the message was created","format":"date-time","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp when the message was created","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"The timestamp when the message was last updated","format":"date-time","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"The timestamp when the message was last updated","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0.updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"result.oneOf.2.parent_task_message.oneOf.0","typeLabel":"TaskMessage · object"},{"type":"null","uniqueKey":"result.oneOf.2.parent_task_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.parent_task_message","typeLabel":"TaskMessage · object | null"},"delta":{"oneOf":[{"type":"object","title":"TextDelta","description":"Delta for text updates","properties":{"type":{"type":"string","const":"text","title":"Type","default":"text","uniqueKey":"result.oneOf.2.delta.oneOf.0.type","typeLabel":"string"},"text_delta":{"oneOf":[{"type":"string","title":"Text Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.0.text_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Text Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.0.text_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.0.text_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.0","typeLabel":"TextDelta · object"},{"type":"object","title":"DataDelta","description":"Delta for data updates","properties":{"type":{"type":"string","const":"data","title":"Type","default":"data","uniqueKey":"result.oneOf.2.delta.oneOf.1.type","typeLabel":"string"},"data_delta":{"oneOf":[{"type":"string","title":"Data Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.1.data_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Data Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.1.data_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.1.data_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.1","typeLabel":"DataDelta · object"},{"type":"object","title":"ToolRequestDelta","description":"Delta for tool request updates","required":["tool_call_id","name"],"properties":{"tool_call_id":{"type":"string","title":"Tool Call Id","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.2.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"tool_request","title":"Type","default":"tool_request","uniqueKey":"result.oneOf.2.delta.oneOf.2.type","typeLabel":"string"},"arguments_delta":{"oneOf":[{"type":"string","title":"Arguments Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.2.arguments_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Arguments Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.2.arguments_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.2.arguments_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.2","typeLabel":"ToolRequestDelta · object"},{"type":"object","title":"ToolResponseDelta","description":"Delta for tool response updates","required":["tool_call_id","name"],"properties":{"tool_call_id":{"type":"string","title":"Tool Call Id","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.3.name","typeLabel":"string"},"type":{"type":"string","const":"tool_response","title":"Type","default":"tool_response","uniqueKey":"result.oneOf.2.delta.oneOf.3.type","typeLabel":"string"},"content_delta":{"oneOf":[{"type":"string","title":"Content Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.3.content_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.3.content_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.3.content_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.3","typeLabel":"ToolResponseDelta · object"},{"type":"object","title":"ReasoningSummaryDelta","description":"Delta for reasoning summary updates","required":["summary_index"],"properties":{"summary_index":{"type":"integer","title":"Summary Index","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.4.summary_index","typeLabel":"integer"},"type":{"type":"string","const":"reasoning_summary","title":"Type","default":"reasoning_summary","uniqueKey":"result.oneOf.2.delta.oneOf.4.type","typeLabel":"string"},"summary_delta":{"oneOf":[{"type":"string","title":"Summary Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.4.summary_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Summary Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.4.summary_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.4.summary_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.4","typeLabel":"ReasoningSummaryDelta · object"},{"type":"object","title":"ReasoningContentDelta","description":"Delta for reasoning content updates","required":["content_index"],"properties":{"content_index":{"type":"integer","title":"Content Index","isRequired":true,"uniqueKey":"result.oneOf.2.delta.oneOf.5.content_index","typeLabel":"integer"},"type":{"type":"string","const":"reasoning_content","title":"Type","default":"reasoning_content","uniqueKey":"result.oneOf.2.delta.oneOf.5.type","typeLabel":"string"},"content_delta":{"oneOf":[{"type":"string","title":"Content Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.5.content_delta.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content Delta","default":"","uniqueKey":"result.oneOf.2.delta.oneOf.5.content_delta.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta.oneOf.5.content_delta","typeLabel":"string | null"}},"uniqueKey":"result.oneOf.2.delta.oneOf.5","typeLabel":"ReasoningContentDelta · object"},{"type":"null","uniqueKey":"result.oneOf.2.delta.oneOf.6","typeLabel":"null"}],"uniqueKey":"result.oneOf.2.delta","typeLabel":"TextDelta · object | DataDelta · object | ToolRequestDelta · object | ToolResponseDelta · object | ReasoningSummaryDelta · object | ReasoningContentDelta · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.2","typeLabel":"StreamTaskMessageDelta · object"},{"type":"object","title":"StreamTaskMessageFull","description":"Event for streaming the full content","required":["content"],"properties":{"content":{"oneOf":[{"type":"object","title":"TextContent","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.3.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.3.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.3.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.3.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.3.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.3.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.3.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.3.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.3.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.3.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.3.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.3.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.3.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.3.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"type":{"type":"string","const":"full","title":"Type","default":"full","uniqueKey":"result.oneOf.3.type","typeLabel":"string"},"index":{"oneOf":[{"type":"integer","title":"Index","uniqueKey":"result.oneOf.3.index.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Index","uniqueKey":"result.oneOf.3.index.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.index","typeLabel":"integer | null"},"parent_task_message":{"oneOf":[{"type":"object","title":"TaskMessage","description":"Represents a message in the agent system.\n\nThis entity is used to store messages in MongoDB, with each message\nassociated with a specific task.","required":["task_id","content"],"properties":{"task_id":{"type":"string","title":"Task Id","description":"ID of the task this message belongs to","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.task_id","typeLabel":"string"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.id","typeLabel":"string | null"},"streaming_status":{"oneOf":[{"type":"string","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","enum":["IN_PROGRESS","DONE"],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.streaming_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.streaming_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.streaming_status","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp when the message was created","format":"date-time","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp when the message was created","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"The timestamp when the message was last updated","format":"date-time","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"The timestamp when the message was last updated","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0.updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"result.oneOf.3.parent_task_message.oneOf.0","typeLabel":"TaskMessage · object"},{"type":"null","uniqueKey":"result.oneOf.3.parent_task_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.3.parent_task_message","typeLabel":"TaskMessage · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.3","typeLabel":"StreamTaskMessageFull · object"},{"type":"object","title":"StreamTaskMessageDone","description":"Event for indicating the task is done","properties":{"type":{"type":"string","const":"done","title":"Type","default":"done","uniqueKey":"result.oneOf.4.type","typeLabel":"string"},"index":{"oneOf":[{"type":"integer","title":"Index","uniqueKey":"result.oneOf.4.index.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Index","uniqueKey":"result.oneOf.4.index.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.index","typeLabel":"integer | null"},"parent_task_message":{"oneOf":[{"type":"object","title":"TaskMessage","description":"Represents a message in the agent system.\n\nThis entity is used to store messages in MongoDB, with each message\nassociated with a specific task.","required":["task_id","content"],"properties":{"task_id":{"type":"string","title":"Task Id","description":"ID of the task this message belongs to","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.task_id","typeLabel":"string"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1.content","typeLabel":"string[] | null"}},"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content.oneOf.4","typeLabel":"ToolResponseContent · object"}],"isRequired":true,"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The task message's unique id","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.id","typeLabel":"string | null"},"streaming_status":{"oneOf":[{"type":"string","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","enum":["IN_PROGRESS","DONE"],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.streaming_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"In case of streaming, this indicates whether the message is still being streamed or has been completed","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.streaming_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.streaming_status","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp when the message was created","format":"date-time","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp when the message was created","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"The timestamp when the message was last updated","format":"date-time","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"The timestamp when the message was last updated","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0.updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"result.oneOf.4.parent_task_message.oneOf.0","typeLabel":"TaskMessage · object"},{"type":"null","uniqueKey":"result.oneOf.4.parent_task_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.4.parent_task_message","typeLabel":"TaskMessage · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.4","typeLabel":"StreamTaskMessageDone · object"},{"type":"object","title":"Task","description":"The result of the agent RPC request","required":["id"],"properties":{"id":{"type":"string","title":"Unique Task ID","isRequired":true,"uniqueKey":"result.oneOf.5.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Unique name of the task","uniqueKey":"result.oneOf.5.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Unique name of the task","uniqueKey":"result.oneOf.5.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.name","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"TaskStatus","enum":["CANCELED","COMPLETED","FAILED","RUNNING","INTERRUPTED","TERMINATED","TIMED_OUT","DELETED"],"uniqueKey":"result.oneOf.5.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"The current status of the task","uniqueKey":"result.oneOf.5.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.status","typeLabel":"enum\u003cstring> | null"},"status_reason":{"oneOf":[{"type":"string","title":"The reason for the current task status","uniqueKey":"result.oneOf.5.status_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"The reason for the current task status","uniqueKey":"result.oneOf.5.status_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.status_reason","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","title":"The timestamp when the task was created","format":"date-time","uniqueKey":"result.oneOf.5.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"The timestamp when the task was created","uniqueKey":"result.oneOf.5.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","title":"The timestamp when the task was last updated","format":"date-time","uniqueKey":"result.oneOf.5.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"The timestamp when the task was last updated","uniqueKey":"result.oneOf.5.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.updated_at","typeLabel":"string\u003cdate-time> | null"},"cleaned_at":{"oneOf":[{"type":"string","title":"The timestamp when the task's content was cleaned for retention compliance; null when active","format":"date-time","uniqueKey":"result.oneOf.5.cleaned_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"The timestamp when the task's content was cleaned for retention compliance; null when active","uniqueKey":"result.oneOf.5.cleaned_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.cleaned_at","typeLabel":"string\u003cdate-time> | null"},"params":{"oneOf":[{"type":"object","title":"Task parameters","additionalProperties":true,"uniqueKey":"result.oneOf.5.params.oneOf.0","typeLabel":"Task parameters · object"},{"type":"null","title":"Task parameters","uniqueKey":"result.oneOf.5.params.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.params","typeLabel":"Task parameters · object | null"},"task_metadata":{"oneOf":[{"type":"object","title":"Task metadata","additionalProperties":true,"uniqueKey":"result.oneOf.5.task_metadata.oneOf.0","typeLabel":"Task metadata · object"},{"type":"null","title":"Task metadata","uniqueKey":"result.oneOf.5.task_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.5.task_metadata","typeLabel":"Task metadata · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.5","typeLabel":"Task · object"},{"type":"object","title":"Event","description":"The result of the agent RPC request","required":["id","sequence_id","task_id","agent_id"],"properties":{"id":{"type":"string","title":"Id","description":"The UUID of the event","isRequired":true,"uniqueKey":"result.oneOf.6.id","typeLabel":"string"},"sequence_id":{"type":"integer","title":"Sequence Id","description":"The sequence ID of the event","isRequired":true,"uniqueKey":"result.oneOf.6.sequence_id","typeLabel":"integer"},"task_id":{"type":"string","title":"Task Id","description":"The UUID of the task that the event belongs to","isRequired":true,"uniqueKey":"result.oneOf.6.task_id","typeLabel":"string"},"agent_id":{"type":"string","title":"Agent Id","description":"The UUID of the agent that the event belongs to","isRequired":true,"uniqueKey":"result.oneOf.6.agent_id","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"The timestamp of the event","format":"date-time","uniqueKey":"result.oneOf.6.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"The timestamp of the event","uniqueKey":"result.oneOf.6.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.6.created_at","typeLabel":"string\u003cdate-time> | null"},"content":{"oneOf":[{"type":"object","title":"TextContent","description":"The content of the event","required":["author","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.author","typeLabel":"enum\u003cstring>"},"content":{"type":"string","title":"Content","description":"The contents of the text message.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.content","typeLabel":"string"},"type":{"type":"string","const":"text","title":"Type","description":"The type of the message, in this case `text`.","default":"text","uniqueKey":"result.oneOf.6.content.oneOf.0.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.6.content.oneOf.0.style","typeLabel":"enum\u003cstring>"},"format":{"type":"string","enum":["markdown","plain","code"],"title":"TextFormat","description":"The format of the message. This is used by the client to determine how to display the message.","default":"plain","uniqueKey":"result.oneOf.6.content.oneOf.0.format","typeLabel":"enum\u003cstring>"},"attachments":{"oneOf":[{"type":"array","items":{"properties":{"file_id":{"type":"string","title":"File Id","description":"The unique ID of the attached file","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the file","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0.items.[INDEX].name","typeLabel":"string"},"size":{"type":"integer","title":"Size","description":"The size of the file in bytes","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0.items.[INDEX].size","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"The MIME type or content type of the file","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["file_id","name","size","type"],"title":"FileAttachment","description":"Represents a file attachment in messages.","uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0.items.[INDEX]","typeLabel":"FileAttachment · object"},"title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.0","typeLabel":"FileAttachment · object[]"},{"type":"null","title":"Attachments","description":"Optional list of file attachments with structured metadata.","uniqueKey":"result.oneOf.6.content.oneOf.0.attachments.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.6.content.oneOf.0.attachments","typeLabel":"FileAttachment · object[] | null"}},"uniqueKey":"result.oneOf.6.content.oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ReasoningContent","description":"The content of the event","required":["author","summary"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.1.author","typeLabel":"enum\u003cstring>"},"summary":{"items":{"type":"string","uniqueKey":"result.oneOf.6.content.oneOf.1.summary.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Summary","description":"A list of short reasoning summaries","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.1.summary","typeLabel":"string[]"},"type":{"type":"string","const":"reasoning","title":"Type","description":"The type of the message, in this case `reasoning`.","default":"reasoning","uniqueKey":"result.oneOf.6.content.oneOf.1.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.6.content.oneOf.1.style","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"result.oneOf.6.content.oneOf.1.content.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.6.content.oneOf.1.content.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Content","description":"The reasoning content or chain-of-thought text","uniqueKey":"result.oneOf.6.content.oneOf.1.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.6.content.oneOf.1.content","typeLabel":"string[] | null"}},"uniqueKey":"result.oneOf.6.content.oneOf.1","typeLabel":"ReasoningContent · object"},{"type":"object","title":"DataContent","description":"The content of the event","required":["author","data"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.2.author","typeLabel":"enum\u003cstring>"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"The contents of the data message.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.2.data","typeLabel":"Data · object"},"type":{"type":"string","const":"data","title":"Type","description":"The type of the message, in this case `data`.","default":"data","uniqueKey":"result.oneOf.6.content.oneOf.2.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.6.content.oneOf.2.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"result.oneOf.6.content.oneOf.2","typeLabel":"DataContent · object"},{"type":"object","title":"ToolRequestContent","description":"The content of the event","required":["author","tool_call_id","name","arguments"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.3.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.3.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being requested.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.3.name","typeLabel":"string"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"The arguments to the tool.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.3.arguments","typeLabel":"Arguments · object"},"type":{"type":"string","const":"tool_request","title":"Type","description":"The type of the message, in this case `tool_request`.","default":"tool_request","uniqueKey":"result.oneOf.6.content.oneOf.3.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.6.content.oneOf.3.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"result.oneOf.6.content.oneOf.3","typeLabel":"ToolRequestContent · object"},{"type":"object","title":"ToolResponseContent","description":"The content of the event","required":["author","tool_call_id","name","content"],"properties":{"author":{"type":"string","enum":["user","agent"],"title":"MessageAuthor","description":"The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.4.author","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","title":"Tool Call Id","description":"The ID of the tool call that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.4.tool_call_id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The name of the tool that is being responded to.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.4.name","typeLabel":"string"},"content":{"title":"Content","description":"The result of the tool.","isRequired":true,"uniqueKey":"result.oneOf.6.content.oneOf.4.content","typeLabel":"any"},"type":{"type":"string","const":"tool_response","title":"Type","description":"The type of the message, in this case `tool_response`.","default":"tool_response","uniqueKey":"result.oneOf.6.content.oneOf.4.type","typeLabel":"string"},"style":{"type":"string","enum":["static","active"],"title":"MessageStyle","description":"The style of the message. This is used by the client to determine how to display the message.","default":"static","uniqueKey":"result.oneOf.6.content.oneOf.4.style","typeLabel":"enum\u003cstring>"},"is_error":{"oneOf":[{"type":"boolean","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.6.content.oneOf.4.is_error.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Error","description":"Whether the tool call resulted in an error. `None` when the harness does not report a status.","uniqueKey":"result.oneOf.6.content.oneOf.4.is_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.6.content.oneOf.4.is_error","typeLabel":"boolean | null"}},"uniqueKey":"result.oneOf.6.content.oneOf.4","typeLabel":"ToolResponseContent · object"},{"type":"null","description":"The content of the event","uniqueKey":"result.oneOf.6.content.oneOf.5","typeLabel":"null"}],"uniqueKey":"result.oneOf.6.content","typeLabel":"TextContent · object | ReasoningContent · object | DataContent · object | ToolRequestContent · object | ToolResponseContent · object | null"}},"isRequired":true,"uniqueKey":"result.oneOf.6","typeLabel":"Event · object"},{"type":"null","title":"AgentRPCResult","description":"The result of the agent RPC request","isRequired":true,"uniqueKey":"result.oneOf.7","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result","typeLabel":"TaskMessage · object[] | StreamTaskMessageStart · object | StreamTaskMessageDelta · object | StreamTaskMessageFull · object | StreamTaskMessageDone · object | Task · object | Event · object | null"},"jsonrpc":{"type":"string","const":"2.0","title":"Jsonrpc","default":"2.0","uniqueKey":"jsonrpc","typeLabel":"string"},"error":{"oneOf":[{"title":"Error"},{"type":"null","title":"Error","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"null"},"id":{"oneOf":[{"type":"integer","title":"Id","uniqueKey":"id.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Id","uniqueKey":"id.oneOf.1","typeLabel":"string"},{"type":"null","title":"Id","uniqueKey":"id.oneOf.2","typeLabel":"null"}],"uniqueKey":"id","typeLabel":"integer | string | null"}},"type":"object","required":["result"],"title":"AgentRPCResponse","uniqueKey":"","typeLabel":"AgentRPCResponse · object"},"examples":{"Example":{"title":"Example","value":{"result":[{"task_id":"\u003cstring>","content":{"author":"user","content":"\u003cstring>","type":"text","style":"static","format":"plain","attachments":[{"file_id":"\u003cstring>","name":"\u003cstring>","size":123,"type":"\u003cstring>"}]},"id":"\u003cstring>","streaming_status":"IN_PROGRESS","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"jsonrpc":"2.0","error":"\u003cunknown>","id":123}}},"exampleType":"generated"}},"exampleType":"generated"},"25d61c36-9d2e-489a-9feb-eeb83ab594ee":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"https://agentex.dev-sgp.scale.com/openapi.json"},"subdomain":"scalegp","siteName":"Scale AI","title":"Handle Agent RPC by ID - Scale AI","navMaps":{"firstHrefInVersion":{"V5":{"href":"/reference/agentex/agents/handle-agent-rpc-by-id","matchLevel":0},"V4 (legacy)":{"href":"/docs/agents/agent-service","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T19:56:23.809Z","originalFileLocation":"reference/agentex/agents/handle-agent-rpc-by-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Handle JSON-RPC requests for an agent by its unique ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Handle Agent RPC by ID - Scale AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Handle JSON-RPC requests for an agent by its unique ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scale AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Handle+Agent+RPC+by+ID\u0026amp;description=Handle+JSON-RPC+requests+for+an+agent+by+its+unique+ID.\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=c7f68affbea5d7942826321b4da751fc77e218825dc953fd69a6bc217c434118\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Handle Agent RPC by ID - Scale AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Handle JSON-RPC requests for an agent by its unique ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Handle+Agent+RPC+by+ID\u0026amp;description=Handle+JSON-RPC+requests+for+an+agent+by+its+unique+ID.\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=c7f68affbea5d7942826321b4da751fc77e218825dc953fd69a6bc217c434118\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f2e7b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/agentex/agents/handle-agent-rpc-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gp.scale.com/#organization\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gp.scale.com#website\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id#webpage\",\"url\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id\",\"name\":\"Handle Agent RPC by ID\",\"description\":\"Handle JSON-RPC requests for an agent by its unique ID.\",\"dateModified\":\"2026-09-28T19:56:23.809Z\",\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.gp.scale.com/reference/agentex/agents/get-agent-by-id\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Handle Agent RPC by ID\",\"item\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id#apireference\",\"headline\":\"Handle Agent RPC by ID\",\"name\":\"Handle Agent RPC by ID\",\"description\":\"Handle JSON-RPC requests for an agent by its unique ID.\",\"url\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gp.scale.com/reference/agentex/agents/handle-agent-rpc-by-id#webpage\"},\"dateModified\":\"2026-09-28T19:56:23.809Z\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"}}]}\u003c/script>","siteName":"Scale AI","nav":{"global":null,"versions":[{"version":"V5","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/v5/overview"}]},{"tab":"AgentOps API","pages":[{"title":"AgentOps API","href":"/reference/v5/inference/run-inference-with-free-form-payload"}]},{"tab":"AgentOps SDK","href":"https://scaleapi.github.io/sgp-sdk-docs/api/python/"},{"tab":"Agentex API","groups":[{"group":"Agents","pages":[{"title":"Get Agent by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}","href":"/reference/agentex/agents/get-agent-by-id"},{"title":"Delete Agent by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agents/{agent_id}","href":"/reference/agentex/agents/delete-agent-by-id"},{"title":"Get Agent by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/name/{agent_name}","href":"/reference/agentex/agents/get-agent-by-name"},{"title":"Delete Agent by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agents/name/{agent_name}","href":"/reference/agentex/agents/delete-agent-by-name"},{"title":"List Agents","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents","href":"/reference/agentex/agents/list-agents"},{"title":"Register Agent","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/register","href":"/reference/agentex/agents/register-agent"},{"title":"Register Build","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/register-build","href":"/reference/agentex/agents/register-build"},{"title":"Forward GET request to agent by name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/forward/name/{agent_name}/{path}","href":"/reference/agentex/agents/forward-get-request-to-agent-by-name"},{"title":"Forward POST request to agent by name","description":"Forward a POST request to an agent by its name.","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/forward/name/{agent_name}/{path}","href":"/reference/agentex/agents/forward-post-request-to-agent-by-name"},{"title":"Handle Agent RPC by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/rpc","href":"/reference/agentex/agents/handle-agent-rpc-by-id"},{"title":"Handle Agent RPC by Name","description":"Handle JSON-RPC requests for an agent by its unique name.","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/name/{agent_name}/rpc","href":"/reference/agentex/agents/handle-agent-rpc-by-name"}]},{"group":"Tasks","pages":[{"title":"Get Task by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/{task_id}","href":"/reference/agentex/tasks/get-task-by-id"},{"title":"Update Task by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /tasks/{task_id}","href":"/reference/agentex/tasks/update-task-by-id"},{"title":"Delete Task by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /tasks/{task_id}","href":"/reference/agentex/tasks/delete-task-by-id"},{"title":"Get Task by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/name/{task_name}","href":"/reference/agentex/tasks/get-task-by-name"},{"title":"Update Task by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /tasks/name/{task_name}","href":"/reference/agentex/tasks/update-task-by-name"},{"title":"Delete Task by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /tasks/name/{task_name}","href":"/reference/agentex/tasks/delete-task-by-name"},{"title":"List Tasks","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks","href":"/reference/agentex/tasks/list-tasks"},{"title":"Complete Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/complete","href":"/reference/agentex/tasks/complete-task"},{"title":"Fail Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/fail","href":"/reference/agentex/tasks/fail-task"},{"title":"Cancel Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/cancel","href":"/reference/agentex/tasks/cancel-task"},{"title":"Interrupt Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/interrupt","href":"/reference/agentex/tasks/interrupt-task"},{"title":"Terminate Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/terminate","href":"/reference/agentex/tasks/terminate-task"},{"title":"Timeout Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/timeout","href":"/reference/agentex/tasks/timeout-task"},{"title":"Stream Task Events by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/{task_id}/stream","href":"/reference/agentex/tasks/stream-task-events-by-id"},{"title":"Stream Task Events by Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/name/{task_name}/stream","href":"/reference/agentex/tasks/stream-task-events-by-name"},{"title":"Query Task Workflow","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/{task_id}/query/{query_name}","href":"/reference/agentex/tasks/query-task-workflow"}]},{"group":"Messages","pages":[{"title":"Batch Update Messages","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /messages/batch","href":"/reference/agentex/messages/batch-update-messages"},{"title":"Batch Create Messages","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /messages/batch","href":"/reference/agentex/messages/batch-create-messages"},{"title":"List Messages","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /messages","href":"/reference/agentex/messages/list-messages"},{"title":"Create Message","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /messages","href":"/reference/agentex/messages/create-message"},{"title":"Get Message","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /messages/{message_id}","href":"/reference/agentex/messages/get-message"},{"title":"Update Message","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /messages/{message_id}","href":"/reference/agentex/messages/update-message"},{"title":"List Messages Paginated","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /messages/paginated","href":"/reference/agentex/messages/list-messages-paginated"}]},{"group":"Spans","pages":[{"title":"List Spans","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /spans","href":"/reference/agentex/spans/list-spans"},{"title":"Create Span","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /spans","href":"/reference/agentex/spans/create-span"},{"title":"Get Span","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /spans/{span_id}","href":"/reference/agentex/spans/get-span"},{"title":"Partial Update Span","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json patch /spans/{span_id}","href":"/reference/agentex/spans/partial-update-span"}]},{"group":"States","pages":[{"title":"List States","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /states","href":"/reference/agentex/states/list-states"},{"title":"Create Task State","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /states","href":"/reference/agentex/states/create-task-state"},{"title":"Get State by State ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /states/{state_id}","href":"/reference/agentex/states/get-state-by-state-id"},{"title":"Update Task State","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /states/{state_id}","href":"/reference/agentex/states/update-task-state"},{"title":"Delete Task State","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /states/{state_id}","href":"/reference/agentex/states/delete-task-state"}]},{"group":"Events","pages":[{"title":"Get Event","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /events/{event_id}","href":"/reference/agentex/events/get-event"},{"title":"List Events","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /events","href":"/reference/agentex/events/list-events"}]},{"group":"Slack","pages":[{"title":"Slack Events API ingress for the @agent app","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /slack/events","href":"/reference/agentex/slack/slack-events-api-ingress-for-the-@agent-app"},{"title":"Slack slash-command ingress (e.g. /agents)","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /slack/commands","href":"/reference/agentex/slack/slack-slash-command-ingress-eg-agents"},{"title":"Slack interactivity ingress (modals, shortcuts)","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /slack/interactions","href":"/reference/agentex/slack/slack-interactivity-ingress-modals-shortcuts"}]},{"group":"Agent Task Tracker","pages":[{"title":"Get Agent Task Tracker","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tracker/{tracker_id}","href":"/reference/agentex/agent-task-tracker/get-agent-task-tracker"},{"title":"Update Agent Task Tracker","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json put /tracker/{tracker_id}","href":"/reference/agentex/agent-task-tracker/update-agent-task-tracker"},{"title":"List Agent Task Trackers","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tracker","href":"/reference/agentex/agent-task-tracker/list-agent-task-trackers"}]},{"group":"Agent APIKeys","pages":[{"title":"List API keys for an agent ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agent_api_keys","href":"/reference/agentex/agent-apikeys/list-api-keys-for-an-agent-id"},{"title":"Create Api Key","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agent_api_keys","href":"/reference/agentex/agent-apikeys/create-api-key"},{"title":"Create Webhook Trigger","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agent_api_keys/webhook-trigger","href":"/reference/agentex/agent-apikeys/create-webhook-trigger"},{"title":"Return named API key for the agent ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agent_api_keys/name/{name}","href":"/reference/agentex/agent-apikeys/return-named-api-key-for-the-agent-id"},{"title":"Return the API key by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agent_api_keys/{id}","href":"/reference/agentex/agent-apikeys/return-the-api-key-by-id"},{"title":"Delete API key by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agent_api_keys/{id}","href":"/reference/agentex/agent-apikeys/delete-api-key-by-id"},{"title":"Delete API key by name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agent_api_keys/name/{api_key_name}","href":"/reference/agentex/agent-apikeys/delete-api-key-by-name"}]},{"group":"Linear","pages":[{"title":"Linear agent webhook ingress for the @agentex app","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /linear/events","href":"/reference/agentex/linear/linear-agent-webhook-ingress-for-the-@agentex-app"}]},{"group":"Integrations","pages":[{"title":"Confirm linking a Slack identity to SGP","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /integrations/slack/link","href":"/reference/agentex/integrations/confirm-linking-a-slack-identity-to-sgp"},{"title":"Complete a Slack identity link","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /integrations/slack/link","href":"/reference/agentex/integrations/complete-a-slack-identity-link"}]},{"group":"Deployment History","pages":[{"title":"Get Deployment by ID","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /deployment-history/{deployment_id}","href":"/reference/agentex/deployment-history/get-deployment-by-id"},{"title":"List Deployments for an agent","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /deployment-history","href":"/reference/agentex/deployment-history/list-deployments-for-an-agent"}]},{"group":"Deployments","pages":[{"title":"List Deployments","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}/deployments","href":"/reference/agentex/deployments/list-deployments"},{"title":"Create Deployment","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/deployments","href":"/reference/agentex/deployments/create-deployment"},{"title":"Get Deployment","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}/deployments/{deployment_id}","href":"/reference/agentex/deployments/get-deployment"},{"title":"Delete Deployment","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agents/{agent_id}/deployments/{deployment_id}","href":"/reference/agentex/deployments/delete-deployment"},{"title":"Promote Deployment","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/deployments/{deployment_id}/promote","href":"/reference/agentex/deployments/promote-deployment"},{"title":"Preview RPC","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/deployments/{deployment_id}/rpc","href":"/reference/agentex/deployments/preview-rpc"}]},{"group":"Schedules","pages":[{"title":"List Run Schedules","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}/schedules","href":"/reference/agentex/schedules/list-run-schedules"},{"title":"Create Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules","href":"/reference/agentex/schedules/create-run-schedule"},{"title":"Get Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}/schedules/name/{name}","href":"/reference/agentex/schedules/get-run-schedule-by-name"},{"title":"Delete Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agents/{agent_id}/schedules/name/{name}","href":"/reference/agentex/schedules/delete-run-schedule-by-name"},{"title":"Update Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json patch /agents/{agent_id}/schedules/name/{name}","href":"/reference/agentex/schedules/update-run-schedule-by-name"},{"title":"Get Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /agents/{agent_id}/schedules/{schedule_id}","href":"/reference/agentex/schedules/get-run-schedule"},{"title":"Delete Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json delete /agents/{agent_id}/schedules/{schedule_id}","href":"/reference/agentex/schedules/delete-run-schedule"},{"title":"Update Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json patch /agents/{agent_id}/schedules/{schedule_id}","href":"/reference/agentex/schedules/update-run-schedule"},{"title":"Trigger Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/name/{name}/trigger","href":"/reference/agentex/schedules/trigger-run-schedule-by-name"},{"title":"Trigger Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/{schedule_id}/trigger","href":"/reference/agentex/schedules/trigger-run-schedule"},{"title":"Skip Run Schedule Action","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/{schedule_id}/skip","href":"/reference/agentex/schedules/skip-run-schedule-action"},{"title":"Unskip Run Schedule Action","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/{schedule_id}/unskip","href":"/reference/agentex/schedules/unskip-run-schedule-action"},{"title":"Pause Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/name/{name}/pause","href":"/reference/agentex/schedules/pause-run-schedule-by-name"},{"title":"Pause Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/{schedule_id}/pause","href":"/reference/agentex/schedules/pause-run-schedule"},{"title":"Resume Run Schedule By Name","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/name/{name}/resume","href":"/reference/agentex/schedules/resume-run-schedule-by-name"},{"title":"Resume Run Schedule","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /agents/{agent_id}/schedules/{schedule_id}/resume","href":"/reference/agentex/schedules/resume-run-schedule"}]},{"group":"Checkpoints","pages":[{"title":"Get Checkpoint Tuple","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /checkpoints/get-tuple","href":"/reference/agentex/checkpoints/get-checkpoint-tuple"},{"title":"Put Checkpoint","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /checkpoints/put","href":"/reference/agentex/checkpoints/put-checkpoint"},{"title":"Put Writes","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /checkpoints/put-writes","href":"/reference/agentex/checkpoints/put-writes"},{"title":"List Checkpoints","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /checkpoints/list","href":"/reference/agentex/checkpoints/list-checkpoints"},{"title":"Delete Thread","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /checkpoints/delete-thread","href":"/reference/agentex/checkpoints/delete-thread"}]},{"group":"task-retention","pages":[{"title":"Export Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json get /tasks/{task_id}/export","href":"/reference/agentex/task-retention/export-task"},{"title":"Export Task To Url","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/export","href":"/reference/agentex/task-retention/export-task-to-url"},{"title":"Clean Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/clean","href":"/reference/agentex/task-retention/clean-task"},{"title":"Rehydrate Task","deprecated":null,"version":null,"openapi":"https://agentex.dev-sgp.scale.com/openapi.json post /tasks/{task_id}/rehydrate","href":"/reference/agentex/task-retention/rehydrate-task"}]}]},{"tab":"Agentex SDK","href":"https://scaleapi.github.io/agentex-sdk-docs/api/python/"},{"tab":"Capabilities","pages":[{"title":"Capabilities","href":"/docs/capabilities/overview"}]},{"tab":"Dex API","pages":[{"title":"Dex API","href":"/reference/dex/projects/list-projects"}]}]},{"version":"V4 (legacy)","pages":[{"title":"V4 (legacy)","href":"/docs/agents/agent-service"}]}]},"basePath":"","title":"Handle Agent RPC by ID - Scale AI","buildId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","deploymentId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CVpqyvFO.js","utils-vpweLD0v.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BIOodqb0.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B1LM3qmu.js","snippetPresets-C5xK0GtN.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CCsxLnQl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C2-WKG22.js","shallow-SdoLUC-q.js","getApiPlaygroundDisplay-BnI8L2hB.js","CodeSnippet-D5M8NCHI.js","CodeSnippets-CXRO8Uom.js","Page-CN9QbZiA.js","getPastedJson-CrfHEdRt.js","icon-Cr8AyUnW.js","MethodPill-J_Cs0kNw.js","DuplicateIcon-DrMboxGw.js","createIcon-B4CIWVbU.js","DynamicMarkdown-D9cdbgj9.js","SectionHeading-BO4CouT0.js","axios-vUo_bRtp.js","Markdown-L1m1-PSi.js","clsx-rIpTdK8h.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-ptfS1uB_.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D31Sm3f9.js"]}