OpenStreetMap features by tag
osm_featuresMap and list OpenStreetMap objects matching exact OSM tags inside an area — a bbox, a point and radius, or a named place. Use when you know the tags ("place=village|hamlet", "amenity=clinic", "railway=tram", "highway=*+name=Rue de Lyon") or need everything near a coordinate with distances; use build_map for natural-language questions and statistics. No model interpretation: tags and area are taken as given, every feature is an OSM object with all its tags. Each layer reports ok / empty (OSM has none matching here) / unavailable (no source answered — says nothing about whether any exist). Returns a shareable map plus a compact table per layer (name, osm id, distance_m for point searches, address, coordinates). Costs 1 credit; refunded when no layer has a feature.
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": {
"layers": "<layers>",
"area": "<area>"
},
"name": "osm_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Exactly one of: bbox, point + radius_m, or place (its extent; add radius_m for a radius around it, e.g. an address). Areas up to ~300 km across. | |
| limit | No | Max features per layer (default 200) | |
| layers | Yes | 1–5 layers, each drawn and listed separately | |
| rationale | No | Optional short label (≤300 chars) for the map edit history, e.g. "add wildfire layer". Omit it to send nothing beyond the tool arguments. |