Execute Code
execute_codeExecute arbitrary PyQGIS code to perform operations beyond standard tools. Access QgsProject, iface, and core QGIS classes; receive stdout/stderr output.
Instructions
Execute arbitrary PyQGIS code. Use for operations not covered by other tools. Has access to QgsProject, iface, and core QGIS classes. Returns stdout/stderr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |