count_features
Count features matching a where clause without retrieving rows, providing a quick total to gauge query size before fetching. Works on any layer.
Instructions
Count features matching a where clause, without pulling the rows. Cheap way to answer 'how many X' or to size a query before fetching. Works on any layer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "count_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | 1=1 | |
| layer_id | No | ||
| layer_key | No | ||
| service_path | No |