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

MCPListToolsTool interface

MCP 服务器上可用的工具。

属性

annotations

MCP服务器提供的关于该工具的额外元数据。

description

MCP服务器提供的工具描述。

input_schema

描述工具输入的 JSON 架构。

name

工具的名称。

属性详细信息

annotations

MCP服务器提供的关于该工具的额外元数据。

annotations?: MCPListToolsToolAnnotations

属性值

description

MCP服务器提供的工具描述。

description?: string

属性值

string

input_schema

描述工具输入的 JSON 架构。

input_schema: MCPListToolsToolInputSchema

属性值

name

工具的名称。

name: string

属性值

string