Zoom to Layer
zoom_to_layerZoom the map canvas to show the complete extent of any selected layer. Specify a layer ID to automatically frame the view around its full geographic range.
Instructions
Zoom the map canvas to the full extent of the specified layer.
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": {
"layer_id": "<layer_id>"
},
"name": "zoom_to_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes |