Skip to content

Tool

type Tool<Context> =
| FunctionTool<Context, any, any>
| ComputerTool
| HostedTool;

A tool that can be called by the model.

Type Parameter Default type Description

Context

unknown

The context passed to the tool