Context passed to tool handlers during invocation by language models.
Language models should pass this context when invoking tool handlers to enable
proper tracking and correlation of tool calls.
Optional cancellation token to support cancelling tool execution.
OptionaltoolCallId
toolCallId?:string
The unique identifier for this specific tool call invocation.
This ID is assigned by the language model and used to correlate
the tool call with its response.
Context passed to tool handlers during invocation by language models. Language models should pass this context when invoking tool handlers to enable proper tracking and correlation of tool calls.