Static map
static_mapMake a map image for a screen (a map view, a location card): real map tiles around a point, with optional pins, stored as an image of fileId's workspace (pass the file it is for), else of workspace, else of the default workspace. Returns its /api/assets/… URL for (object-cover). Style light gives the muted look of most app maps (Apple Maps, etc.). Rendered at 2× for retina frames.
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": {
"lat": "<lat>",
"lon": "<lon>",
"width": "<width>",
"height": "<height>"
},
"name": "static_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| zoom | No | 15 ≈ a district, 17 ≈ streets. | |
| style | No | light | |
| width | Yes | CSS px, as in the frame. | |
| fileId | No | The file the assets are for: its workspace's (a file shows the fonts and images of its own workspace). | |
| height | Yes | ||
| markers | No | ||
| workspace | No | The workspace whose assets to use: its id or name (whoami lists them). Default: fileId's workspace, else the default workspace. |