Skip to content

AgentToolResultEvent

Defined in: packages/protocol/src/lib/agent-wire.ts:593

A breadcrumb that a tool call settled.

The agent loop is experimental in 0.3 and may change in any minor release.

callId: CallId

Defined in: packages/protocol/src/lib/agent-wire.ts:603

Echoes the callId of the tool_call event.


name: string

Defined in: packages/protocol/src/lib/agent-wire.ts:605

Name of the tool that was called.


ok: boolean

Defined in: packages/protocol/src/lib/agent-wire.ts:607

Whether the tool call succeeded.


runId: RunId

Defined in: packages/protocol/src/lib/agent-wire.ts:599

The Agent Run that made the call.


summary: string

Defined in: packages/protocol/src/lib/agent-wire.ts:612

Short description of the outcome, not whitespace-only and at most 200 characters. For a failed call it describes the failure.


turnId: string

Defined in: packages/protocol/src/lib/agent-wire.ts:601

The model turn that issued the call.


type: "tool_result"

Defined in: packages/protocol/src/lib/agent-wire.ts:595

Member discriminator.


version: 1

Defined in: packages/protocol/src/lib/agent-wire.ts:597

Agent wire version, always AGENT_WIRE_VERSION.