RunStepMcpToolCall interface
对 MCP 工具的调用记录,由模型在评估已定义的工具时发出,表示已执行的 MCP作。
属性
| arguments | MCP 工具调用的参数,由模型提供。 参数呈现为 JSON 文档,应对其进行验证和分析以供评估。 |
| name | MCP 服务器上使用的函数的名称。 |
| output | MCP 工具调用的输出。 |
| server |
MCP 服务器的标签 |
| type | 对象类型,始终为“mcp”。 |
继承属性
| id | 工具调用的 ID。 提交工具输出时必须引用此 ID。 |
属性详细信息
arguments
MCP 工具调用的参数,由模型提供。 参数呈现为 JSON 文档,应对其进行验证和分析以供评估。
arguments: string
属性值
string
name
MCP 服务器上使用的函数的名称。
name: string
属性值
string
output
MCP 工具调用的输出。
output: string
属性值
string
serverLabel
MCP 服务器的标签
serverLabel?: string
属性值
string
type
对象类型,始终为“mcp”。
type: "mcp"
属性值
"mcp"