nx_batch
Runs multiple tool calls in sequence as one unit, starting the NX window once to reduce overhead and returning one result per command.
Instructions
Run several tool calls in order as one unit. In batch mode (no NX window) this starts NX only once, which is much faster than separate calls. Returns one result per command.
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": {
"commands": "<commands>"
},
"name": "nx_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | List of {"tool": name, "params": {...}} objects. | |
| stop_on_error | No | Stop at the first failing command. |