call_tool
Invoke a folded MCP tool with optional field projection, output token limits, and secret redaction to trim JSON responses and protect sensitive data.
Instructions
Invoke a folded MCP tool with optional field projection, output token cap, and secret redaction.
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": "<tool>"
},
"name": "call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Tool arguments object | |
| tool | Yes | Tool name or server.tool ID | |
| fields | No | Dot-path fields to keep from JSON output | |
| maxTokens | No | Output token cap (default 1500) |