mcporter_call_tool
Call a tool on any MCP server by specifying server name, tool name, and arguments. Supports multiple output formats including JSON, text, markdown, and raw.
Instructions
调用指定服务器的工具。
参数:
server_name: 服务器名(如 xiaohongshu、douyin)
tool_name: 工具名(如 search_feeds)
arguments: JSON 对象,不是字符串
示例:mcporter_call_tool(server_name="xiaohongshu", tool_name="search_feeds", arguments={"keyword": "GLM"})
⚠️ 先用 mcporter_help 查询参数格式
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": {
"server_name": "<server_name>",
"tool_name": "<tool_name>"
},
"name": "mcporter_call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| tool_name | Yes | ||
| timeout_ms | No | ||
| server_name | Yes | ||
| output_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||