Skip to content

AgentRunToolCallCounts

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

Tool call counts of one Agent Run.

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

admitted: number

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

Tool calls the run’s policy let through. A call admitted by the policy still counts when its arguments are rejected afterwards.


requested: number

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

Tool calls the model requested, including the ones the run refused.