你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomToolParam interface

一个自定义工具,使用指定格式处理输入。 详细了解 custom 工具

扩展

属性

defer_loading

是否应该推迟使用该工具,并通过工具搜索发现。

description

可选的自定义工具描述,用于提供更多上下文。

format

自定义工具的输入格式。 默认是无约束文本。

name

自定义工具的名称,用于工具调用中的标识。

type

自定义工具的类型。 始终为 custom

属性详细信息

defer_loading

是否应该推迟使用该工具,并通过工具搜索发现。

defer_loading?: boolean

属性值

boolean

description

可选的自定义工具描述,用于提供更多上下文。

description?: string

属性值

string

format

自定义工具的输入格式。 默认是无约束文本。

format?: CustomToolParamFormatUnion

属性值

name

自定义工具的名称,用于工具调用中的标识。

name: string

属性值

string

type

自定义工具的类型。 始终为 custom

type: "custom"

属性值

"custom"