Get Layer Features
get_layer_featuresRetrieve features from a vector layer with support for expression filtering, pagination, and optional geometry inclusion.
Instructions
Retrieve features from a vector layer. Features are flat dicts with _fid and attributes at top level. Supports expression filtering (QGIS expressions like "name = 'Berlin'" or "population > 1000000"), limit (max 50, default 10), offset for paging, and optional geometry inclusion (in _geometry key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| limit | No | ||
| offset | No | ||
| expression | No | ||
| include_geometry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||