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