Skip to content

AgentToolCallEvent

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

A breadcrumb that the loop model called a tool.

callId: CallId

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

Id that pairs this call with its tool_result event.


name: string

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

Name of the tool that was called.


runId: RunId

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

The Agent Run making the call.


turnId: string

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

The model turn that issued the call.


type: "tool_call"

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

Member discriminator.


version: 1

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

Agent wire version, always AGENT_WIRE_VERSION.