RunStepMcpToolCall interface

對 MCP 工具的呼叫記錄,由模型在評估已定義的工具時發出,表示已執行的 MCP作。

Extends

屬性

arguments

MCP 工具調用的參數,由模型提供。 自變數會顯示為 JSON 檔,應該經過驗證和剖析以供評估。

name

MCP 伺服器上使用的函數的名稱。

output

MCP 工具調用的輸出。

serverLabel

MCP 伺服器的標籤

type

物件類型,始終為“mcp”。

繼承的屬性

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"

繼承的屬性詳細資料

id

工具呼叫的識別碼。 當您提交工具輸出時,必須參考此標識碼。

id: string

屬性值

string

繼承自RunStepToolCall.id