mcpdev_inspector_call_tool
Execute tools on MCP servers by specifying target server, transport type, tool name, and arguments to invoke functionality and retrieve responses.
Instructions
Execute a tool on a target MCP server.
Use this to invoke a specific tool on the target server with provided arguments.
Args:
target (string): Target MCP server - command or URL
transport ('stdio' | 'sse' | 'http'): Transport type
timeout_ms (number): Timeout in milliseconds (default: 60000)
tool_name (string): Name of the tool to call
tool_args (object): Arguments to pass to the tool
Returns: The tool's response content.
Examples:
{ target: "node server.js", tool_name: "get_weather", tool_args: { city: "Tokyo" } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse') | |
| transport | No | Transport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP | |
| timeout_ms | No | Timeout in milliseconds (default: 60000) | |
| tool_name | Yes | Name of the tool to call | |
| tool_args | No | Arguments to pass to the tool |