Batch Commands
batch_commandsExecute multiple non-destructive QGIS commands in a single request to reduce round-trips and improve efficiency.
Instructions
Execute multiple commands in a single round-trip. Each command is {"type": "<command_name>", "params": {...}}. Destructive commands (execute_code, remove_layer, delete_features, set_setting, reload_plugin) are not allowed in batch — use them individually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |