ToolCost
Defined in: agents/src/types.ts:943
USD one attempt of a tool call reported, the sum of its reportCost calls. Kept apart from
the call’s own record, so a retry, a restart or a request never drops a charge.
Properties
Section titled “Properties”attemptId
Section titled “attemptId”attemptId: string;Defined in: agents/src/types.ts:946
costUsd
Section titled “costUsd”costUsd: number;Defined in: agents/src/types.ts:947
operationId
Section titled “operationId”operationId: string;Defined in: agents/src/types.ts:945
The call’s operation id, or a code program’s inner call id.