get_layer_summary
Combine five separate QGIS layer queries into one call, returning feature count, geometry type, CRS, extent, and field details with example values for vector layers.
Instructions
Summarize a layer in one call: feature count, geometry type, CRS, extent, and fields.
Replaces the usual five round-trips (layer_info + list_fields + samples)
with a single response. For vector layers, each field comes with up to 3
example values pulled from the first features scanned - not a full
distinct-value enumeration. Raster layers get the shared metadata
(id/name/type/crs/extent) with geometry_type, feature_count, and
fields set to null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||