zoomToExtent
Animate the camera to frame a geographic extent defined by west, south, east, and north coordinates in degrees. Accepts a bounding box and optional duration to control the view.
Instructions
Animate the camera to a west/south/east/north bounding box. Returns { success: boolean, data?: unknown, message?: string, error?: string }.
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": {
"bbox": "<bbox>"
},
"name": "zoomToExtent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | Geographic extent [west, south, east, north] in degrees | |
| duration | No | Animation duration (seconds) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes |