Schema
Schema name: SessionEventAgentSessionTurnItemAdded
json
{
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded",
"docstring": "Emitted when an item is added to a turn.",
"ident": "AgentSessionTurnItemAddedEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "event_id"
},
{
"ident": "item"
},
{
"ident": "output_index"
},
{
"ident": "session_id"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) event_id",
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) item",
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) output_index",
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) session_id",
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "The unique ID of the event.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) item": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/item",
"deprecated": false,
"key": "item",
"docstring": "The item that was added.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentSessionItem",
"$ref": "(resource) beta.agents > (model) agent_session_item > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "union",
"modelPath": "(resource) beta.agents > (model) agent_session_item",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 1",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 2",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 5",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 6",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 7",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 8",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 9",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 10",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 11",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 12",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 13"
]
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) output_index": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/output_index",
"deprecated": false,
"key": "output_index",
"docstring": "The index of the item in the turn output, when the item is agent output.",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "int64",
"minimum": 0,
"maximum": 4294967295
},
"optional": false,
"nullable": true,
"schemaType": "integer",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) session_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/session_id",
"deprecated": false,
"key": "session_id",
"docstring": "The ID of the session associated with the event.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn associated with the event, when applicable.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `agent.session.turn.item.added`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnItemAdded/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "agent.session.turn.item.added"
}
]
},
"default": "agent.session.turn.item.added",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentSessionMessage",
"$ref": "(resource) beta.agents > (model) agent_session_message > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) id",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) content",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) status",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 1": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentReasoningItem",
"$ref": "(resource) beta.agents > (model) agent_reasoning_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) summary",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 2": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallItem",
"$ref": "(resource) beta.agents > (model) agent_function_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) arguments",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) call_id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) name",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SessionTurnItemResource/oneOf/3",
"docstring": "The result supplied for a function call.",
"ident": "FunctionCallOutput",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "call_id"
},
{
"ident": "error"
},
{
"ident": "output"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) call_id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) error",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) output",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) status",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) turn_id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SessionTurnItemResource/oneOf/4",
"docstring": "A message exchanged between agent threads.",
"ident": "AgentMessage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "content"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) content",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) turn_id",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 5": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentMcpCallItem",
"$ref": "(resource) beta.agents > (model) agent_mcp_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) arguments",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) error",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) name",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) output",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) server_label",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 6": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentWebSearchCallItem",
"$ref": "(resource) beta.agents > (model) agent_web_search_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) action",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 7": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentCommandExecutionItem",
"$ref": "(resource) beta.agents > (model) agent_command_execution_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) command",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) cwd",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) duration_ms",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) exit_code",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) output",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 8": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentCreateSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_create_subagent_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) agent_id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) content",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) model",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) reasoning_effort",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 9": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentSendSubagentInputCallItem",
"$ref": "(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) content",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 10": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentResumeSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 11": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentWaitForSubagentsCallItem",
"$ref": "(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) recipient_agent_ids",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 12": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentInterruptSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 13": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentCloseSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_close_subagent_call_item > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SessionTurnItemResource",
"docstring": "An item associated with a session turn.",
"ident": "AgentSessionItem",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/SessionTurnItemResource",
"types": [
{
"kind": "HttpTypeReference",
"ident": "AgentSessionMessage",
"$ref": "(resource) beta.agents > (model) agent_session_message > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentReasoningItem",
"$ref": "(resource) beta.agents > (model) agent_reasoning_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallItem",
"$ref": "(resource) beta.agents > (model) agent_function_call_item > (schema)"
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "call_id"
},
{
"ident": "error"
},
{
"ident": "output"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "content"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeReference",
"ident": "AgentMcpCallItem",
"$ref": "(resource) beta.agents > (model) agent_mcp_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentWebSearchCallItem",
"$ref": "(resource) beta.agents > (model) agent_web_search_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentCommandExecutionItem",
"$ref": "(resource) beta.agents > (model) agent_command_execution_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentCreateSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_create_subagent_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentSendSubagentInputCallItem",
"$ref": "(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentResumeSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentWaitForSubagentsCallItem",
"$ref": "(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentInterruptSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema)"
},
{
"kind": "HttpTypeReference",
"ident": "AgentCloseSubagentCallItem",
"$ref": "(resource) beta.agents > (model) agent_close_subagent_call_item > (schema)"
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 1",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 2",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 5",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 6",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 7",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 8",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 9",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 10",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 11",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 12",
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 13"
]
},
"(resource) beta.agents > (model) agent_session_turn_item_added_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "agent.session.turn.item.added"
}
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of this item, or null for legacy user messages whose ID was not recorded.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) content": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/content",
"deprecated": false,
"key": "content",
"docstring": "The content of the message. User messages contain input text or images; assistant messages contain output text.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/MessageItemResource/properties/content",
"elementType": {
"kind": "HttpTypeReference",
"ident": "AgentSessionMessageContent",
"$ref": "(resource) beta.agents > (model) agent_session_message_content > (schema)"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/phase",
"deprecated": false,
"key": "phase",
"docstring": "The phase of an assistant message.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageItemResource/properties/phase",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "commentary"
},
{
"kind": "HttpTypeLiteral",
"literal": "final_answer"
}
]
},
"optional": false,
"nullable": true,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase > (member) 0",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase > (member) 1"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/role",
"deprecated": false,
"key": "role",
"docstring": "The role of the message author.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageItemResource/properties/role",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "user"
},
{
"kind": "HttpTypeLiteral",
"literal": "assistant"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role > (member) 0",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role > (member) 1"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the message. User messages are always `completed`.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentOutputItemStatus",
"$ref": "(resource) beta.agents > (model) agent_output_item_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_output_item_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 2"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `message`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "message"
}
]
},
"default": "message",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/MessageItemResource",
"docstring": "A user or assistant message recorded in a session.",
"ident": "AgentSessionMessage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "content"
},
{
"ident": "phase"
},
{
"ident": "role"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) id",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) content",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) status",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the reasoning item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of an agent output item.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentOutputItemStatus",
"$ref": "(resource) beta.agents > (model) agent_output_item_status > (schema)"
},
"optional": false,
"nullable": true,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_output_item_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 2"
]
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) summary": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/summary",
"deprecated": false,
"key": "summary",
"docstring": "The reasoning summaries produced by the agent.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/summary",
"elementType": {
"kind": "HttpTypeReference",
"ident": "SummaryText",
"$ref": "(resource) beta.agents > (model) summary_text > (schema)"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) summary_text > (schema) > (property) text",
"(resource) beta.agents > (model) summary_text > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `reasoning`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/ReasoningItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "reasoning"
}
]
},
"default": "reasoning",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/ReasoningItemResource",
"docstring": "A reasoning item produced by the agent.",
"ident": "AgentReasoningItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "status"
},
{
"ident": "summary"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) summary",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the function call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) arguments": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/arguments",
"deprecated": false,
"key": "arguments",
"docstring": "The arguments to pass to the function.",
"type": {
"kind": "HttpTypeUnknown"
},
"optional": false,
"nullable": false,
"schemaType": "unknown",
"children": []
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) call_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/call_id",
"deprecated": false,
"key": "call_id",
"docstring": "The ID used to submit the function result.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) name": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/name",
"deprecated": false,
"key": "name",
"docstring": "The name of the function to call.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the function call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `function_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/FunctionCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "function_call"
}
]
},
"default": "function_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_function_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/FunctionCallItemResource",
"docstring": "A function call produced by the agent.",
"ident": "AgentFunctionCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "arguments"
},
{
"ident": "call_id"
},
{
"ident": "name"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) arguments",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) call_id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) name",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the function call output item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) call_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/call_id",
"deprecated": false,
"key": "call_id",
"docstring": "The ID of the function call that produced this output.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) error": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/error",
"deprecated": false,
"key": "error",
"docstring": "The error message, if the call failed.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) output": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/output",
"deprecated": false,
"key": "output",
"docstring": "The text or model-input content supplied as a function result.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallOutput",
"$ref": "(resource) beta.agents > (model) agent_function_call_output > (schema)"
},
"optional": false,
"nullable": true,
"modelImplicit": false,
"schemaType": "union",
"modelPath": "(resource) beta.agents > (model) agent_function_call_output",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the function call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `function_call_output`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/FunctionCallOutputItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "function_call_output"
}
]
},
"default": "function_call_output",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the message.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) content": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/content",
"deprecated": false,
"key": "content",
"docstring": "The content exchanged between the agents.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/content",
"elementType": {
"kind": "HttpTypeReference",
"ident": "AgentContent",
"$ref": "(resource) beta.agents > (model) agent_content > (schema)"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) recipient_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/recipient_agent_id",
"deprecated": false,
"key": "recipient_agent_id",
"docstring": "The ID or name of the receiving agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID or name of the sending agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `agent_message`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/AgentMessageItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "agent_message"
}
]
},
"default": "agent_message",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the MCP call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) arguments": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/arguments",
"deprecated": false,
"key": "arguments",
"docstring": "The arguments passed to the MCP tool.",
"type": {
"kind": "HttpTypeUnknown"
},
"optional": false,
"nullable": false,
"schemaType": "unknown",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) error": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/error",
"deprecated": false,
"key": "error",
"docstring": "The error returned by the MCP tool, if any.",
"type": {
"kind": "HttpTypeUnknown"
},
"optional": false,
"nullable": false,
"schemaType": "unknown",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) name": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/name",
"deprecated": false,
"key": "name",
"docstring": "The name of the MCP tool.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) output": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/output",
"deprecated": false,
"key": "output",
"docstring": "The output returned by the MCP tool, if any.",
"type": {
"kind": "HttpTypeUnknown"
},
"optional": false,
"nullable": false,
"schemaType": "unknown",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) server_label": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/server_label",
"deprecated": false,
"key": "server_label",
"docstring": "The label of the MCP server.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the MCP tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/McpCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `mcp_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/McpCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "mcp_call"
}
]
},
"default": "mcp_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/McpCallItemResource",
"docstring": "A call to a tool on an MCP server.",
"ident": "AgentMcpCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "arguments"
},
{
"ident": "error"
},
{
"ident": "name"
},
{
"ident": "output"
},
{
"ident": "server_label"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) arguments",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) error",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) name",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) output",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) server_label",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the web search call.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) action": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/action",
"deprecated": false,
"key": "action",
"docstring": "An action performed by the web search tool.",
"type": {
"kind": "HttpTypeReference",
"ident": "WebSearchAction",
"$ref": "(resource) beta.agents > (model) web_search_action > (schema)"
},
"optional": false,
"nullable": true,
"modelImplicit": false,
"schemaType": "union",
"modelPath": "(resource) beta.agents > (model) web_search_action",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3"
]
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the web search call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentOutputItemStatus",
"$ref": "(resource) beta.agents > (model) agent_output_item_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_output_item_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 2"
]
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `web_search_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "web_search_call"
}
]
},
"default": "web_search_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchCallItemResource",
"docstring": "A web search call produced by the agent.",
"ident": "AgentWebSearchCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "action"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) action",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the command execution item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) command": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/command",
"deprecated": false,
"key": "command",
"docstring": "The command that was executed.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) cwd": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/cwd",
"deprecated": false,
"key": "cwd",
"docstring": "The working directory used to execute the command.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) duration_ms": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/duration_ms",
"deprecated": false,
"key": "duration_ms",
"docstring": "The command duration in milliseconds.",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "int64"
},
"optional": false,
"nullable": true,
"schemaType": "integer",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) exit_code": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/exit_code",
"deprecated": false,
"key": "exit_code",
"docstring": "The process exit code, if the command completed.",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "int64"
},
"optional": false,
"nullable": true,
"schemaType": "integer",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) output": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/output",
"deprecated": false,
"key": "output",
"docstring": "The command output, if available.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the command execution.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `command_execution`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/CommandExecutionItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "command_execution"
}
]
},
"default": "command_execution",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/CommandExecutionItemResource",
"docstring": "A command execution produced by the agent.",
"ident": "AgentCommandExecutionItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "command"
},
{
"ident": "cwd"
},
{
"ident": "duration_ms"
},
{
"ident": "exit_code"
},
{
"ident": "output"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) command",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) cwd",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) duration_ms",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) exit_code",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) output",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/agent_id",
"deprecated": false,
"key": "agent_id",
"docstring": "The ID of the agent that requested the subagent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) content": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/content",
"deprecated": false,
"key": "content",
"docstring": "The task given to the spawned agent.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/content",
"elementType": {
"kind": "HttpTypeReference",
"ident": "AgentContent",
"$ref": "(resource) beta.agents > (model) agent_content > (schema)"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) model": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/model",
"deprecated": false,
"key": "model",
"docstring": "The model requested for the spawned agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) reasoning_effort": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/reasoning_effort",
"deprecated": false,
"key": "reasoning_effort",
"docstring": "The reasoning effort requested for the spawned agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `create_subagent_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "create_subagent_call"
}
]
},
"default": "create_subagent_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/CreateSubagentCallItemResource",
"docstring": "A request to spawn a subagent.",
"ident": "AgentCreateSubagentCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "agent_id"
},
{
"ident": "content"
},
{
"ident": "model"
},
{
"ident": "reasoning_effort"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) agent_id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) content",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) model",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) reasoning_effort",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) content": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/content",
"deprecated": false,
"key": "content",
"docstring": "The input sent to the receiving agent.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/content",
"elementType": {
"kind": "HttpTypeReference",
"ident": "AgentContent",
"$ref": "(resource) beta.agents > (model) agent_content > (schema)"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) recipient_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/recipient_agent_id",
"deprecated": false,
"key": "recipient_agent_id",
"docstring": "The ID of the agent receiving the input.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID of the agent sending the input.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `send_subagent_input_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "send_subagent_input_call"
}
]
},
"default": "send_subagent_input_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SendSubagentInputCallItemResource",
"docstring": "A request to send input to another agent.",
"ident": "AgentSendSubagentInputCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "content"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) content",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) recipient_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/recipient_agent_id",
"deprecated": false,
"key": "recipient_agent_id",
"docstring": "The ID of the agent to resume.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID of the agent requesting the resume.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `resume_subagent_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "resume_subagent_call"
}
]
},
"default": "resume_subagent_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/ResumeSubagentCallItemResource",
"docstring": "A request to resume a subagent.",
"ident": "AgentResumeSubagentCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) recipient_agent_ids": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/recipient_agent_ids",
"deprecated": false,
"key": "recipient_agent_ids",
"docstring": "The IDs of the agents to wait for.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/recipient_agent_ids",
"elementType": {
"kind": "HttpTypeString"
}
},
"optional": false,
"nullable": false,
"schemaType": "array",
"children": []
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID of the agent waiting for results.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `wait_for_subagents_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "wait_for_subagents_call"
}
]
},
"default": "wait_for_subagents_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WaitForSubagentsCallItemResource",
"docstring": "A request to wait for one or more subagents.",
"ident": "AgentWaitForSubagentsCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "recipient_agent_ids"
},
{
"ident": "sender_agent_id"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) recipient_agent_ids",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) recipient_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/recipient_agent_id",
"deprecated": false,
"key": "recipient_agent_id",
"docstring": "The ID of the agent to interrupt.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID of the agent requesting the interrupt.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `interrupt_subagent_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "interrupt_subagent_call"
}
]
},
"default": "interrupt_subagent_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/InterruptSubagentCallItemResource",
"docstring": "A request to interrupt a subagent's current turn. The subagent remains available.",
"ident": "AgentInterruptSubagentCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/id",
"deprecated": false,
"key": "id",
"docstring": "The ID of the tool call item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) recipient_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/recipient_agent_id",
"deprecated": false,
"key": "recipient_agent_id",
"docstring": "The ID of the agent to close.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) sender_agent_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/sender_agent_id",
"deprecated": false,
"key": "sender_agent_id",
"docstring": "The ID of the agent requesting the close.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) status": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/status",
"deprecated": false,
"key": "status",
"docstring": "The status of the tool call.",
"type": {
"kind": "HttpTypeReference",
"ident": "AgentFunctionCallStatus",
"$ref": "(resource) beta.agents > (model) agent_function_call_status > (schema)"
},
"optional": false,
"nullable": false,
"modelImplicit": false,
"schemaType": "enum",
"modelPath": "(resource) beta.agents > (model) agent_function_call_status",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn that contains this item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The item type. Always `close_subagent_call`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "close_subagent_call"
}
]
},
"default": "close_subagent_call",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/CloseSubagentCallItemResource",
"docstring": "A request to close a subagent.",
"ident": "AgentCloseSubagentCallItem",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "id"
},
{
"ident": "recipient_agent_id"
},
{
"ident": "sender_agent_id"
},
{
"ident": "status"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) recipient_agent_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) sender_agent_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) status",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/MessageContentResource/oneOf/0",
"docstring": "Text supplied by the user.",
"ident": "InputText",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) text",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/MessageContentResource/oneOf/1",
"docstring": "An image supplied by the user.",
"ident": "InputImage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "image_url"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) image_url",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/MessageContentResource/oneOf/2",
"docstring": "Text produced by the assistant.",
"ident": "OutputText",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) text",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/MessageContentResource",
"docstring": "A content part in a session message.",
"ident": "AgentSessionMessageContent",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageContentResource",
"types": [
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "image_url"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1",
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "Commentary produced while the agent works.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "commentary"
}
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) phase > (member) 1": {
"kind": "HttpDeclReference",
"docstring": "The agent's final answer.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "final_answer"
}
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "user"
}
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) role > (member) 1": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "assistant"
}
},
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The item is in progress.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "in_progress"
}
},
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 1": {
"kind": "HttpDeclReference",
"docstring": "The item is complete.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "completed"
}
},
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 2": {
"kind": "HttpDeclReference",
"docstring": "The item stopped before completing.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "incomplete"
}
},
"(resource) beta.agents > (model) agent_output_item_status > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/OutputItemStatusResource",
"docstring": "The status of an agent output item.",
"ident": "AgentOutputItemStatus",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/OutputItemStatusResource",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "in_progress"
},
{
"kind": "HttpTypeLiteral",
"literal": "completed"
},
{
"kind": "HttpTypeLiteral",
"literal": "incomplete"
}
]
},
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_output_item_status > (schema) > (member) 2"
]
},
"(resource) beta.agents > (model) agent_session_message > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "message"
}
},
"(resource) beta.agents > (model) summary_text > (schema) > (property) text": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SummaryTextResource/properties/text",
"deprecated": false,
"key": "text",
"docstring": "The reasoning summary text.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) summary_text > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SummaryTextResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The content type. Always `summary_text`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/SummaryTextResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "summary_text"
}
]
},
"default": "summary_text",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) summary_text > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) summary_text > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SummaryTextResource",
"docstring": "A reasoning summary content part.",
"ident": "SummaryText",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) summary_text > (schema) > (property) text",
"(resource) beta.agents > (model) summary_text > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_reasoning_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "reasoning"
}
},
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The call is in progress.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "in_progress"
}
},
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1": {
"kind": "HttpDeclReference",
"docstring": "The call completed successfully.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "completed"
}
},
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2": {
"kind": "HttpDeclReference",
"docstring": "The call failed.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "failed"
}
},
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3": {
"kind": "HttpDeclReference",
"docstring": "The call stopped before completing.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "incomplete"
}
},
"(resource) beta.agents > (model) agent_function_call_status > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/FunctionCallStatusResource",
"docstring": "The status of a tool call.",
"ident": "AgentFunctionCallStatus",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/FunctionCallStatusResource",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "in_progress"
},
{
"kind": "HttpTypeLiteral",
"literal": "completed"
},
{
"kind": "HttpTypeLiteral",
"literal": "failed"
},
{
"kind": "HttpTypeLiteral",
"literal": "incomplete"
}
]
},
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 0",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 1",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 2",
"(resource) beta.agents > (model) agent_function_call_status > (schema) > (member) 3"
]
},
"(resource) beta.agents > (model) agent_function_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "function_call"
}
},
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 0": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/FunctionCallOutputResource/oneOf/0",
"ident": "UnionMember0",
"type": {
"kind": "HttpTypeString"
},
"children": []
},
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 1": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/FunctionCallOutputResource/oneOf/1",
"ident": "UnionMember1",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/FunctionCallOutputResource/oneOf/1",
"elementType": {
"kind": "HttpTypeReference",
"ident": "InputContent",
"$ref": "(resource) beta.agents > (model) input_content > (schema)"
}
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_function_call_output > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/FunctionCallOutputResource",
"docstring": "The text or model-input content supplied as a function result.",
"ident": "AgentFunctionCallOutput",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/FunctionCallOutputResource",
"types": [
{
"kind": "HttpTypeString"
},
{
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/FunctionCallOutputResource/oneOf/1",
"elementType": {
"kind": "HttpTypeReference",
"ident": "InputContent",
"$ref": "(resource) beta.agents > (model) input_content > (schema)"
}
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_function_call_output > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 3 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "function_call_output"
}
},
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeReference",
"ident": "OutputText",
"$ref": "(resource) beta.agents > (model) output_text > (schema)"
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) output_text > (schema) > (property) text",
"(resource) beta.agents > (model) output_text > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/AgentContentResource/oneOf/1",
"docstring": "Encrypted content exchanged between agents.",
"ident": "EncryptedContent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "encrypted_content"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) encrypted_content",
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) type"
]
},
"(resource) beta.agents > (model) agent_content > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/AgentContentResource",
"docstring": "A plaintext or encrypted content part exchanged between agents.",
"ident": "AgentContent",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/AgentContentResource",
"types": [
{
"kind": "HttpTypeReference",
"ident": "OutputText",
"$ref": "(resource) beta.agents > (model) output_text > (schema)"
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "encrypted_content"
},
{
"ident": "type"
}
]
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) agent_session_item > (schema) > (variant) 4 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "agent_message"
}
},
"(resource) beta.agents > (model) agent_mcp_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "mcp_call"
}
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchActionResource/oneOf/0",
"docstring": "A search query or group of search queries.",
"ident": "Search",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "queries"
},
{
"ident": "query"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) queries",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) query",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) type"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchActionResource/oneOf/1",
"docstring": "Opens a web page.",
"ident": "OpenPage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
},
{
"ident": "url"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) type",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) url"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchActionResource/oneOf/2",
"docstring": "Finds text within a web page.",
"ident": "FindInPage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "pattern"
},
{
"ident": "type"
},
{
"ident": "url"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) pattern",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) type",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) url"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchActionResource/oneOf/3",
"docstring": "Another web search action.",
"ident": "Other",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3 > (property) type"
]
},
"(resource) beta.agents > (model) web_search_action > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/WebSearchActionResource",
"docstring": "An action performed by the web search tool.",
"ident": "WebSearchAction",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchActionResource",
"types": [
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "queries"
},
{
"ident": "query"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
},
{
"ident": "url"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "pattern"
},
{
"ident": "type"
},
{
"ident": "url"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
}
]
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2",
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3"
]
},
"(resource) beta.agents > (model) agent_web_search_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "web_search_call"
}
},
"(resource) beta.agents > (model) agent_command_execution_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "command_execution"
}
},
"(resource) beta.agents > (model) agent_create_subagent_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "create_subagent_call"
}
},
"(resource) beta.agents > (model) agent_send_subagent_input_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "send_subagent_input_call"
}
},
"(resource) beta.agents > (model) agent_resume_subagent_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "resume_subagent_call"
}
},
"(resource) beta.agents > (model) agent_wait_for_subagents_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "wait_for_subagents_call"
}
},
"(resource) beta.agents > (model) agent_interrupt_subagent_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "interrupt_subagent_call"
}
},
"(resource) beta.agents > (model) agent_close_subagent_call_item > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"docstring": "The current public item type.",
"type": {
"kind": "HttpTypeLiteral",
"literal": "close_subagent_call"
}
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) text": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceInputText/properties/text",
"deprecated": false,
"key": "text",
"docstring": "The text supplied by the user.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceInputText/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `input_text`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageContentResourceInputText/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_text"
}
]
},
"default": "input_text",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) image_url": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceInputImage/properties/image_url",
"deprecated": false,
"key": "image_url",
"docstring": "The URL of the image supplied by the user, which may be a base64-encoded data URL.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceInputImage/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `input_image`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageContentResourceInputImage/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_image"
}
]
},
"default": "input_image",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) text": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceOutputText/properties/text",
"deprecated": false,
"key": "text",
"docstring": "The text produced by the assistant.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/MessageContentResourceOutputText/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `output_text`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/MessageContentResourceOutputText/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "output_text"
}
]
},
"default": "output_text",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) summary_text > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "summary_text"
}
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/InputContentResource/oneOf/0",
"docstring": "Text input recorded in a session item.",
"ident": "InputText",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) text",
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) type"
]
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/InputContentResource/oneOf/1",
"docstring": "Image input recorded in a session item.",
"ident": "InputImage",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "image_url"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) image_url",
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) type"
]
},
"(resource) beta.agents > (model) input_content > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/InputContentResource",
"docstring": "User-provided content recorded in a session item.",
"ident": "InputContent",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/InputContentResource",
"types": [
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
{
"kind": "HttpTypeObject",
"members": [
{
"ident": "image_url"
},
{
"ident": "type"
}
]
}
]
},
"childrenParentSchema": "union",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0",
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1"
]
},
"(resource) beta.agents > (model) output_text > (schema) > (property) text": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/OutputTextResource/properties/text",
"deprecated": false,
"key": "text",
"docstring": "The text produced by the agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) output_text > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/OutputTextResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The content type. Always `output_text`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/OutputTextResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "output_text"
}
]
},
"default": "output_text",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) output_text > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) output_text > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/OutputTextResource",
"docstring": "A text content part produced by the agent.",
"ident": "OutputText",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "text"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) output_text > (schema) > (property) text",
"(resource) beta.agents > (model) output_text > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) encrypted_content": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/EncryptedContentResource/properties/encrypted_content",
"deprecated": false,
"key": "encrypted_content",
"docstring": "The encrypted content payload.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/EncryptedContentResource/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The content type. Always `encrypted_content`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/EncryptedContentResource/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "encrypted_content"
}
]
},
"default": "encrypted_content",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) queries": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceSearch/properties/queries",
"deprecated": false,
"key": "queries",
"docstring": "The search queries, when multiple queries were used.",
"type": {
"kind": "HttpTypeArray",
"oasRef": "#/components/schemas/WebSearchActionResourceSearch/properties/queries",
"elementType": {
"kind": "HttpTypeString"
}
},
"optional": false,
"nullable": true,
"schemaType": "array",
"children": []
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) query": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceSearch/properties/query",
"deprecated": false,
"key": "query",
"docstring": "The search query, when a single query was used.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceSearch/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `search`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchActionResourceSearch/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "search"
}
]
},
"default": "search",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceOpenPage/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `open_page`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchActionResourceOpenPage/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "open_page"
}
]
},
"default": "open_page",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) url": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceOpenPage/properties/url",
"deprecated": false,
"key": "url",
"docstring": "The URL of the page that was opened.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) pattern": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceFindInPage/properties/pattern",
"deprecated": false,
"key": "pattern",
"docstring": "The text pattern that was searched for.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceFindInPage/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `find_in_page`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchActionResourceFindInPage/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "find_in_page"
}
]
},
"default": "find_in_page",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) url": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceFindInPage/properties/url",
"deprecated": false,
"key": "url",
"docstring": "The URL of the page that was searched.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/WebSearchActionResourceOther/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `other`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/WebSearchActionResourceOther/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "other"
}
]
},
"default": "other",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 0 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_text"
}
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 1 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_image"
}
},
"(resource) beta.agents > (model) agent_session_message_content > (schema) > (variant) 2 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "output_text"
}
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) text": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InputContentResourceInputText/properties/text",
"deprecated": false,
"key": "text",
"docstring": "The text supplied to the agent.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InputContentResourceInputText/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `input_text`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/InputContentResourceInputText/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_text"
}
]
},
"default": "input_text",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) image_url": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InputContentResourceInputImage/properties/image_url",
"deprecated": false,
"key": "image_url",
"docstring": "The URL of the image supplied to the agent, which may be a base64-encoded data URL.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/InputContentResourceInputImage/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `input_image`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/InputContentResourceInputImage/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_image"
}
]
},
"default": "input_image",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) output_text > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "output_text"
}
},
"(resource) beta.agents > (model) agent_content > (schema) > (variant) 1 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "encrypted_content"
}
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 0 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "search"
}
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 1 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "open_page"
}
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 2 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "find_in_page"
}
},
"(resource) beta.agents > (model) web_search_action > (schema) > (variant) 3 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "other"
}
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 0 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_text"
}
},
"(resource) beta.agents > (model) input_content > (schema) > (variant) 1 > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_image"
}
}
}