awrap_tool_call(
self,
request: ToolCallRequest,
handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Name | Type | Description |
|---|---|---|
request* | ToolCallRequest | Tool call request being processed |
handler* | Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]] |
Run a disclosed skill tool; calls to any other unregistered tool fail as invalid (async version).
Async handler function to call with the request, with any disclosed skill tool attached