run_batch
Run multiple ArcGIS Pro commands in a single round trip for multi-step workflows; optionally continue after failed steps.
Instructions
Run several commands in one round trip -- much faster for multi-step workflows.
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": "run_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | e.g. [{"command": "set_layer_visibility", "params": {"layer_name": "roads", "visible": true}}]. | |
| continue_on_error | No | Keep going after a failed step instead of stopping. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |