MCPToolDefinition interface

定義 MCP 伺服器端點的 MCP 工具的輸入定義資訊

Extends

屬性

allowedTools

MCP 伺服器允許的工具清單

serverLabel

MCP 伺服器的標籤

serverUrl

MCP 伺服器的端點

type

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

屬性詳細資料

allowedTools

MCP 伺服器允許的工具清單

allowedTools?: string[]

屬性值

string[]

serverLabel

MCP 伺服器的標籤

serverLabel: string

屬性值

string

serverUrl

MCP 伺服器的端點

serverUrl: string

屬性值

string

type

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

type: "mcp"

屬性值

"mcp"