Zoom to Layer
zoom_to_layerZoom the active map to the full extent of a specified layer, making the layer fully visible in the map view.
Instructions
Zoom the active map view to a layer's full extent. Requires an open map view.
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": "<layer>"
},
"name": "zoom_to_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| map_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||