exec_swarm
Execute multiple shell commands in parallel with built-in safety checks to prevent dangerous operations, enabling efficient batch processing of system tasks.
Instructions
Execute shell commands in parallel (with safety checks).
commands: JSON array of command strings
Example: ["ls -la", "pwd", "whoami"]
BLOCKED: rm -rf, sudo, dd, mkfs, chmod 777, etc.
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": "exec_swarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |