count_features
Counts the total number of features (rows) in a layer. Provide the exact layer name shown in the Contents pane to get an accurate row count.
Instructions
Count the total number of features (rows) in a layer.
Args: layer: Exact layer name as shown in the Contents pane
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": "count_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |