Function: useAskUserTool()¶
useAskUserTool(
options?):void
Defined in: src/requests/useAskUserTool.tsx:56
Register ask_user, the question tool: an agent whose client_tools allow
it asks the person short questions and waits for the answers, which come
back as JSON keyed by question.
Parameters¶
options?¶
Returns¶
void
Example¶
import { useAskUserTool } from "@pgege/kaboo-react";
import { KabooChat } from "@pgege/kaboo-react/copilotkit";
function Chat() {
useAskUserTool();
return <KabooChat />;
}