Zoom To Selection
arcgis_pro_zoom_to_selectionZoom the map frame in an ArcGIS Pro layout to the selected features of a specified layer, requiring project, map, layer, layout, and map frame names.
Instructions
ArcGIS Pro:缩放选择集。返回可验证的结构化结果;写入和路径限制以服务能力为准。
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": {
"aprx_path": "<aprx_path>",
"map_name": "<map_name>",
"layer_name": "<layer_name>",
"layout_name": "<layout_name>",
"mapframe_name": "<mapframe_name>"
},
"name": "arcgis_pro_zoom_to_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | Yes | ||
| aprx_path | Yes | ||
| layer_name | Yes | ||
| layout_name | Yes | ||
| mapframe_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||