Add Layer To Group
arcgis_pro_add_layer_to_groupAdd existing or empty group layers into a target map group layer within an ArcGIS Pro project, keeping maps organized.
Instructions
把工程中的现有图层加入目标地图的组图层,包括空组图层。
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>",
"target_map_name": "<target_map_name>",
"group_layer_name": "<group_layer_name>",
"source_layer_name": "<source_layer_name>"
},
"name": "arcgis_pro_add_layer_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aprx_path | Yes | ||
| add_position | No | AUTO_ARRANGE | |
| source_map_name | No | ||
| target_map_name | Yes | ||
| group_layer_name | Yes | ||
| source_layer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||