CodeInterpreterToolboxTool interface
一个存储在工具箱中的代码解释器工具。
- 扩展
属性
| container | 代码解释器容器。 可以是容器 ID 或指定上传文件 ID 以供代码使用的对象,同时还可选择一个可选 |
| type | 判别器可能的值包括:code_interpreter、file_search、web_search、mcp、azure_ai_search、openapi、a2a_preview、browser_automation_preview、reminder_preview、work_iq_preview、fabric_iq_preview、toolbox_search_preview |
继承属性
| description | 可选的用户自定义描述,用于该工具或配置。 |
| name | 该工具或配置可选择用户自定义名称。 |
| tool_configs | 每个工具的配置图。 键是工具名称或 |
属性详细信息
container
代码解释器容器。 可以是容器 ID 或指定上传文件 ID 以供代码使用的对象,同时还可选择一个可选 memory_limit 设置。
如果未提供,该服务将假定为自动。
container?: string | AutoCodeInterpreterToolParam
属性值
string | AutoCodeInterpreterToolParam
type
判别器可能的值包括:code_interpreter、file_search、web_search、mcp、azure_ai_search、openapi、a2a_preview、browser_automation_preview、reminder_preview、work_iq_preview、fabric_iq_preview、toolbox_search_preview
type: "code_interpreter"
属性值
"code_interpreter"
继承属性详细信息
description
name
tool_configs
每个工具的配置图。 键是工具名称或 * (通用默认)。
分辨率排序:精确的刀具名称匹配优先于 *。
未知的工具名称在运行时会被无声地忽略。
tool_configs?: Record<string, ToolConfig>
属性值
Record<string, ToolConfig>