Expand description
Canonical item payloads produced inside a thread turn.
Structs§
- Agent
Message Item - Final assistant text response item.
- Command
Execution Item - Command execution output item.
- Error
Item - Item representing an error generated inside the turn flow.
- File
Change Item - File change item containing patch metadata.
- File
Update Change - One changed file within a patch item.
- McpTool
Call Error - Failed MCP tool call payload.
- McpTool
Call Item - MCP tool call item.
- McpTool
Call Result - Successful MCP tool call result payload.
- Reasoning
Item - Model reasoning item.
- Todo
Item - One todo entry tracked by the agent.
- Todo
List Item - Todo list item.
- WebSearch
Item - Web search item.
Enums§
- Command
Execution Status - Lifecycle status for a command execution item.
- McpTool
Call Status - Lifecycle status for MCP tool call items.
- Patch
Apply Status - Patch application lifecycle status.
- Patch
Change Kind - File patch change kind.
- Thread
Item - Canonical union of thread items and their type-specific payloads.