features_get_selected
Retrieve currently selected features from a vector layer. Returns up to 20 features with total selection count; optionally includes bounding boxes.
Instructions
Fetch the currently selected features on a vector layer.
Capped at 20 features (same limit as get_layer_sample) even if more
are selected - total_selected in the response gives the real count.
Geometry is omitted unless include_bbox is set, in which case each
feature gets its bounding box only, never full WKT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| include_bbox | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||