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.
Link
https://json-schema.org/understanding-json-schema
Defined in
packages/core/llms/dist/llms/index.d.ts:134