zoom_to_layer
Zooms and pans the active map view to display the full extent of a specified layer, focusing directly on its geographic scope.
Instructions
Zoom and pan the active map view to show the full extent of a layer.
Args: name: Exact layer name as shown in the Contents pane
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": {
"name": "<name>"
},
"name": "zoom_to_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |