get_field_statistics
Calculate min, max, mean, median, sum, and standard deviation for a numeric field in an ArcGIS Pro layer, optionally filtering records with a SQL where clause.
Instructions
min / max / mean / median / sum / standard deviation of a numeric field.
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>",
"field": "<field>"
},
"name": "get_field_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Field name. | |
| where | No | SQL where clause. | |
| map_name | No | Map to act on; defaults to the active map. | |
| 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 |