set_camera
Sets a saved map's opening view by updating center, zoom, pitch, or bearing; only supplied arguments change, letting you adjust one property without resetting others.
Instructions
Set the view a map opens at. Only the arguments given change.
Needs a map_author API key, which can change only the maps it
created; a 401 or 403 means the server runs without one.
Args: map_id: A map this key created. center: [longitude, latitude] in WGS 84. zoom: Zoom level, 0-24. pitch: Tilt in degrees, 0-85. bearing: Rotation in degrees, -180 to 180.
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": {
"map_id": "<map_id>"
},
"name": "set_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | ||
| pitch | No | ||
| center | No | ||
| map_id | Yes | ||
| bearing | No |