MCPToolDefinition interface
定义 MCP 服务器端点的 MCP 工具的输入定义信息
属性
| allowed |
MCP 服务器允许的工具列表 |
| server |
MCP 服务器的标签 |
| server |
MCP 服务器的端点 |
| type | 对象类型,始终为“mcp”。 |
属性详细信息
allowedTools
MCP 服务器允许的工具列表
allowedTools?: string[]
属性值
string[]
serverLabel
MCP 服务器的标签
serverLabel: string
属性值
string
serverUrl
MCP 服务器的端点
serverUrl: string
属性值
string
type
对象类型,始终为“mcp”。
type: "mcp"
属性值
"mcp"