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

RealtimeMCPToolCall interface

一个表示MCP服务器上工具调用的实时项。

扩展

属性

approval_request_id

与该工具调用相关的批准请求标识符,在需要时使用。

arguments

传递给工具的参数的 JSON 字符串。

created_at

Unix 时间戳(以秒为单位)表示该项目被持久化的时间。

error

与此次调用相关的协议、HTTP 或工具执行失败的详细信息。

id

工具调用的唯一ID。

name

运行的工具的名称。

output

调用的MCP工具返回了结果。

response_id

产生本项目的响应ID(适用时)。

server_label

运行该工具的 MCP 服务器的标签。

type

项的类型。 始终为 mcp_call。

属性详细信息

approval_request_id

与该工具调用相关的批准请求标识符,在需要时使用。

approval_request_id?: string

属性值

string

arguments

传递给工具的参数的 JSON 字符串。

arguments: string

属性值

string

created_at

Unix 时间戳(以秒为单位)表示该项目被持久化的时间。

created_at?: Date

属性值

Date

error

与此次调用相关的协议、HTTP 或工具执行失败的详细信息。

error?: RealtimeMCPErrorUnion

属性值

id

工具调用的唯一ID。

id: string

属性值

string

name

运行的工具的名称。

name: string

属性值

string

output

调用的MCP工具返回了结果。

output?: string

属性值

string

response_id

产生本项目的响应ID(适用时)。

response_id?: string

属性值

string

server_label

运行该工具的 MCP 服务器的标签。

server_label: string

属性值

string

type

项的类型。 始终为 mcp_call。

type: "mcp_call"

属性值

"mcp_call"