cmd_batch
Runs multiple CMD commands one by one in separate cmd.exe processes, stopping on the first failure unless continueOnError is enabled.
Instructions
Run multiple CMD commands one by one. Each command runs in its own cmd.exe /c process (no hanging). Stops on first failure unless continueOnError is true.
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": "cmd_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout per command in ms. Defaults to 10000. Max 30000. | |
| commands | Yes | Commands to run sequentially | |
| continueOnError | No | Continue running after a command fails. Defaults to false. |