[batch]
Runs multiple tool operations in a single request.
| Name | Type | Required | Description |
|---|---|---|---|
| operations | json | Yes | Operations to run, in order. JSON array of objects like { "tool": "get_type_info", "arguments": { ... } }. |
| stopOnError | boolean | No | When true, stops after the first failure. Default is false. |
| timeout_ms | number | No | Overall batch timeout in milliseconds. Use 0 to disable. Default is 60000. |
Run multiple operations
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "batch",
"arguments": {
"operations": "[\n { \"tool\": \"get_type_info\", \"arguments\": { \"typeName\": \"SolutionManager\" } },\n { \"tool\": \"find_usages\", \"arguments\": { \"symbolName\": \"ISolutionManager\", \"summaryOnly\": true } }\n]"
}
}
}{
"success": true,
"data": {
"operationCount": 2,
"completedCount": 2,
"failedCount": 0,
"stoppedEarly": false,
"results": [
{
"tool": "get_type_info",
"result": {
"success": true,
"data": {
"name": "SolutionManager"
},
"error": null
}
},
{
"tool": "find_usages",
"result": {
"success": true,
"data": {
"usageCount": 15
},
"error": null
}
}
]
},
"error": null
}Returns per-operation results in order
Go to Playground to test this tool interactively.