Interface: IToolCallContext
Defined in: internal/tool-registry/types.ts:19
Where a tool call sits in its run: what IToolErrorReport needs beyond the tool and the thread.
Passed by createRunHooks to ToolRegistry.execute and reportFailure; a direct call outside a run has none.
Properties
callId
callId:
string
Defined in: internal/tool-registry/types.ts:21
The model's id of the call.
runId?
optionalrunId?:string
Defined in: internal/tool-registry/types.ts:25
The run, when it is already stored (on a resume).
stepIndex
stepIndex:
number
Defined in: internal/tool-registry/types.ts:23
Step of the run (0-based) that asked for the call.