list_fields
Get field names, types, lengths, and aliases for any ArcGIS dataset to prepare accurate WHERE clauses and attribute operations.
Instructions
List all fields in a dataset (shapefile, feature class, table, layer name, etc.) with field type, length, and alias. Use this before building WHERE clauses or running attribute operations.
Args: dataset: Full path to dataset, or layer name as shown in Contents pane
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |