id: string

The ID of the tool call item.

minLength0
agent_id: string

The ID of the agent that requested the subagent.

minLength0
content: Array<AgentContent>

The task given to the spawned agent.

minItems0
maxItems2000
One of the following:
OutputText { text, type }

A text content part produced by the agent.

text: string

The text produced by the agent.

minLength0
type: "output_text"

The content type. Always output_text.

EncryptedContentResource { encrypted_content, type }

Encrypted content exchanged between agents.

encrypted_content: string

The encrypted content payload.

minLength0
type: "encrypted_content"

The content type. Always encrypted_content.

model: string | null

The model requested for the spawned agent.

minLength0
reasoning_effort: string | null

The reasoning effort requested for the spawned agent.

minLength0

The status of the tool call.

turn_id: string

The ID of the turn that contains this item.

minLength0
type: "create_subagent_call"

The item type. Always create_subagent_call.