Deep Agents · Class
NemotronToolCallShim
Repairs a tool-call request, runs the tool through a handler, and normalizes empty results. It returns a ToolMessage or Command.
Last updated
- Since
- v0.7
Syntax
wrap_tool_call(self, request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]]) -> ToolMessage | Command[Any]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ToolCallRequestToolMessageCommandMiddlewarecreate_deep_agent