Loading...
Skip to main content

Interface: UseToolsProps

batteries/use-tools.UseToolsProps

Properties to be passed to the UseTools component.

Properties

children

children: Node

The conversation in which the AI can use a tool.

Defined in

ai-jsx/src/batteries/use-tools.tsx:40


tools

tools: Record<string, Tool>

The tools the AI can use.

Defined in

ai-jsx/src/batteries/use-tools.tsx:35


showSteps

Optional showSteps: boolean

Whether the result should include intermediate steps, for example, the execution of the function and its response.

Defined in

ai-jsx/src/batteries/use-tools.tsx:45