list_fields
Retrieve field definitions for a layer or table in ArcGIS Pro, including type, alias, length, and domain. Optionally filter by wildcard.
Instructions
List a layer's fields with type, alias, length and domain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer_name": "<layer_name>"
},
"name": "list_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| wildcard | No | Optional name filter, e.g. "POP*". | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |