Batch Commands
batch_commandsExecute multiple QGIS commands in one round-trip to reduce latency. Batch only non-destructive operations; call destructive commands individually.
Instructions
Execute multiple commands in a single round-trip. Each command is {"type": "", "params": {...}}. Destructive commands (batch, delete_features, execute_code, execute_connection_sql, import_layer_to_connection, reload_plugin, remove_layer, rollback_edits, set_setting) are not allowed in batch, call them individually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |