uno_call_tool
Execute a named tool on an MCP server by passing server_name.tool_name and arguments, with automatic connection and OAuth prompts when needed.
Instructions
执行 MCP Server 上的具体工具。
【tool_name 格式】 "server_name.tool_name",例如:
amap-maps.maps_weather
time.get_current_time
github.search_repositories
【自动连接】
普通 server:自动创建连接并执行
OAuth server:返回 auth_required + auth_url,用户在浏览器完成授权后重试
【典型流程】 uno_search_tools(query="天气") → 拿到 tools → uno_call_tool(tool_name="amap-maps.maps_weather", arguments={...})
【评分】调用成功后会返回 rating_hint,请调用 uno_rate_server 评分(0-5),帮助优化搜索排名。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_name": "<tool_name>",
"arguments": "<arguments>"
},
"name": "uno_call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | 工具参数,具体参数见各工具的 inputSchema 定义 | |
| tool_name | Yes | 要调用的工具全名,格式:server_name.tool_name |