Type alias: ToolMetadata<Parameters>
ToolMetadata<
Parameters
>:object
Type parameters
• Parameters extends Record
<string
, unknown
> = Record
<string
, unknown
>
Type declaration
description
description:
string
name
name:
string
parameters?
optional
parameters:Parameters
OpenAI uses JSON Schema to describe the parameters that a tool can take.