Interface: KabooRequestToolOptions\<T>¶
Defined in: src/requests/useRequestTool.tsx:29
Options for useRequestTool.
Type Parameters¶
T¶
T
Properties¶
agentId?¶
optionalagentId?:string
Defined in: src/requests/useRequestTool.tsx:37
Offer the tool to this agent only.
description¶
description:
string
Defined in: src/requests/useRequestTool.tsx:33
What the agent reads about the tool.
name¶
name:
string
Defined in: src/requests/useRequestTool.tsx:31
The tool's name, as agents' client_tools allow-lists name it.
parameters¶
parameters:
KabooToolSchema\<T>
Defined in: src/requests/useRequestTool.tsx:35
The arguments schema. Calls that fail it are answered with the problems, so the agent can retry.
render¶
render: (
props) =>ReactElement\<unknown,string|JSXElementConstructor\<any>> |null
Defined in: src/requests/useRequestTool.tsx:39
The panel: a component, defined outside the one that registers the tool so it keeps its state.
Parameters¶
props¶
Returns¶
ReactElement\<unknown, string | JSXElementConstructor\<any>> | null