get_layer_features
Preview rows from an ArcGIS Pro layer's attribute table using the exact layer name, optional field list, and row limit for focused data inspection.
Instructions
Preview rows from a layer's attribute table.
Args: layer: Exact layer name as shown in the Contents pane limit: Number of rows to return (default: 10) fields: List of field names to include. If empty, returns all non-geometry fields.
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": "<layer>"
},
"name": "get_layer_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| limit | No | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |