get_layer_schema
Retrieve vector layer field details including name, type, length, precision, and optionally distinct values and numeric min/max for specified fields.
Instructions
Describe a vector layer's fields.
Always returns each field's name, type, length, and precision. For any
field name passed in fields, also returns a capped sample of distinct
values (with a total count) and, for numeric fields, the min/max.
Requesting distinct values on every field on a large layer is expensive,
so pass only the fields you actually need to reason about.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||