get_field_statistics
Compute min, max, mean, sum, and distinct value count for a numeric field in a QGIS layer. Returns an error if the field type is unsupported.
Instructions
Get min/max/mean/sum and distinct-value count for a numeric field.
Fails with UnsupportedFieldType if the field isn't numeric. Also includes a capped preview of distinct values seen on the field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes | ||
| layer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||