Skip to content

CallId

CallId = Brand<string, "CallId">

Defined in: packages/protocol/src/lib/agent-ids.ts:48

Identifies one call the agent loop makes, such as a server tool call or a question it expects the user to answer. Server tool calls and answer-awaiting calls share one id space within a run. Deliberately distinct from ToolCallId: a realtime provider’s tool call ids and agent loop call ids are separate id spaces that can meet in one session.