mapbox_get_static_map
Generate a static map image URL for any location using Mapbox by specifying latitude, longitude, zoom, size, and style.
Instructions
Generate a static map image URL for a given location using Mapbox.
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": {
"access_token": "<access_token>",
"longitude": "<longitude>",
"latitude": "<latitude>"
},
"name": "mapbox_get_static_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | Zoom level (0-22, default: 12) | |
| style | No | Map style (default: mapbox/streets-v11) | |
| width | No | Image width in px (max: 1280, default: 600) | |
| height | No | Image height in px (max: 1280, default: 400) | |
| retina | No | Return @2x high-DPI image | |
| latitude | Yes | Center latitude | |
| longitude | Yes | Center longitude | |
| access_token | Yes | Mapbox access token |