wrap_tool_call(
self,
request: ToolCallRequest,
handler: Callable[[ToolCallRequest], ToolMessage | Command| Name | Type | Description |
|---|---|---|
request* | ToolCallRequest | |
handler* | Callable[[ToolCallRequest], ToolMessage | Command[Any]] |
Apply the /offload per-run tool guard before synchronous tools.
Tool call about to be executed.
The remaining middleware/tool execution chain.