Show map
show_mapDisplays an interactive MapLibre map in chat with GeoJSON layers and markers on an OpenFreeMap basemap; if no center or zoom is given, the map auto-fits to the data.
Instructions
Shows the user an interactive MapLibre map in the chat, with GeoJSON layers and markers on an OpenFreeMap basemap. The user sees the map and you do not; to look at a map yourself, use render_style. Without center and zoom, the map fits the layers and markers. Needs a client that supports MCP Apps.
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": "show_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | ||
| pitch | No | ||
| center | No | [longitude, latitude] of the map center. | |
| layers | No | ||
| basemap | No | The OpenFreeMap style to draw on. | liberty |
| bearing | No | ||
| markers | No |