Ask a question to get started
Enter to sendā¢Shift+Enter new line
Handler function type for wrapping tool calls. Takes a tool call request and returns the tool result or a command.
ToolCallHandler: ( request: ToolCallRequest<TSchema, TContext> ) => PromiseOrValue<ToolMessage | Command>