count_places
Count OpenStreetMap elements with a specific tag within a bounding box, providing a lightweight alternative to fetching full geometries.
Instructions
Count OSM elements matching a tag within a bounding box (cheaper than full geometry).
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": {
"south": "<south>",
"west": "<west>",
"north": "<north>",
"east": "<east>",
"tag_key": "<tag_key>"
},
"name": "count_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | Yes | ||
| west | Yes | ||
| north | Yes | ||
| south | Yes | ||
| tag_key | Yes | ||
| tag_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||