jumpserver_batch
Run simple read-only commands across multiple targets in one call; each target's commands execute sequentially before the next target.
Instructions
Run simple commands across one or more targets in a single call. All commands of a target run before the next target is entered (target affinity). Put ONE simple read-only command per commands[] entry — no for/while loops, if branches, $(...) substitution or chained redirection; each entry is classified independently and statically.
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": {
"tasks": "<tasks>"
},
"name": "jumpserver_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | One or more target tasks. | |
| confirm | No | Set true only after the user approved these command(s). The first attempt returns COMMAND_APPROVAL_REQUIRED with the reason. |