AgentToolResultEvent
Defined in: packages/protocol/src/lib/agent-wire.ts:484
A breadcrumb that a tool call settled.
Properties
Section titled “Properties”callId
Section titled “callId”callId:
CallId
Defined in: packages/protocol/src/lib/agent-wire.ts:494
Echoes the callId of the tool_call event.
name:
string
Defined in: packages/protocol/src/lib/agent-wire.ts:496
Name of the tool that was called.
ok:
boolean
Defined in: packages/protocol/src/lib/agent-wire.ts:498
Whether the tool call succeeded.
runId:
RunId
Defined in: packages/protocol/src/lib/agent-wire.ts:490
The Agent Run that made the call.
summary
Section titled “summary”summary:
string
Defined in: packages/protocol/src/lib/agent-wire.ts:503
Short description of the outcome, not whitespace-only and at most 200 characters. For a failed call it describes the failure.
turnId
Section titled “turnId”turnId:
string
Defined in: packages/protocol/src/lib/agent-wire.ts:492
The model turn that issued the call.
type:
"tool_result"
Defined in: packages/protocol/src/lib/agent-wire.ts:486
Member discriminator.
version
Section titled “version”version:
1
Defined in: packages/protocol/src/lib/agent-wire.ts:488
Agent wire version, always AGENT_WIRE_VERSION.