共用方式為


ItemMcpListTools interface

MCP 伺服器上可用的工具清單。

Extends

屬性

error

在取得工具清單時,若有錯誤訊息,則會顯示。

id

名單的唯一ID。

server_label

MCP 伺服器的標籤。

tools

伺服器上可用的工具。

type

專案的型別。 一律為 mcp_list_tools

屬性詳細資料

error

在取得工具清單時,若有錯誤訊息,則會顯示。

error?: string

屬性值

string

id

名單的唯一ID。

id: string

屬性值

string

server_label

MCP 伺服器的標籤。

server_label: string

屬性值

string

tools

伺服器上可用的工具。

tools: MCPListToolsTool[]

屬性值

type

專案的型別。 一律為 mcp_list_tools

type: "mcp_list_tools"

屬性值

"mcp_list_tools"