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

FunctionShellToolParam interface

一个允许模型执行shell命令的工具。

扩展

属性

description

可选的用户自定义描述,用于该工具或配置。

environment

函数壳工具的环境配置。

name

该工具或配置可选择用户自定义名称。

type

壳体工具的类型。 始终为 shell

属性详细信息

description

可选的用户自定义描述,用于该工具或配置。

description?: string

属性值

string

environment

函数壳工具的环境配置。

environment?: FunctionShellToolParamEnvironmentUnion

属性值

name

该工具或配置可选择用户自定义名称。

name?: string

属性值

string

type

壳体工具的类型。 始终为 shell

type: "shell"

属性值

"shell"