Maps Static Map
maps_static_mapGenerate a static Google Maps image with pins and/or a route line, using center and zoom or auto-fit to markers; returns JPEG plus a JSON legend.
Instructions
A map image like the Static Maps API: an area (center + zoom), pins and/or a route line, drawn on Google Maps tiles. Without center or zoom the view fits the pins and route. Returns a JSON legend {center, zoom, size, maptype, markers [{label, query, displayName, location, …}], route {travelMode, condition, description, distanceMeters, duration, googleMapsUri}, missingTiles, attribution} and the JPEG.
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": "maps_static_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | WIDTHxHEIGHT, 128-1024 each | 640x480 |
| zoom | No | 1 world … 10 city … 15 streets … 18 buildings | |
| route | No | A route to draw, with its stops pinned A, B, … | |
| center | No | Centre: a place or area name, a place id or 'lat,lng' | |
| maptype | No | Map style | roadmap |
| markers | No | Places to pin, lettered after the route's stops |