render_place
Downloads a place's OpenStreetMap road network and renders it as an interactive HTML map with styled edges. Specify place, network type, and options to get a saved map path plus a PNG preview.
Instructions
Download the OpenStreetMap road network of a place and draw it as an interactive HTML map.
place: any name OpenStreetMap's geocoder knows, e.g. "Södermalm, Stockholm" or "Tartu, Estonia".
Keep it to a district or a city: a county takes minutes to download.
network_type: "drive", "walk", "bike", "all", "drive_service" or "all_public".
options: render_edges keywords, e.g. {"color_by": "maxspeed", "legend": true}.
output_path: where to save the .html (default ~/roadstyle-maps/<place>.html).
Returns the saved path, a summary and a PNG preview.
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": {
"place": "<place>"
},
"name": "render_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | ||
| options | No | ||
| output_path | No | ||
| network_type | No | drive |