project_list_layers
Lists every layer in the open QGIS project, providing id, name, type, provider, CRS, geometry type, feature count, visibility, and tree position. Use the returned id to reference layers for further operations.
Instructions
List every layer in the open project.
For each layer: id, name, type, provider, CRS, geometry type, feature
count (vector layers only), visibility, and position in the layer tree.
Feature counts come from the provider's index, not by scanning features.
Use the returned id to call get_layer_schema or get_layer_sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||