Copy Layer
arcgis_pro_copy_layerCopy an existing layer from one map to the top of another map in an ArcGIS Pro project and return the new layer identifier.
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>",
"source_map_name": "<source_map_name>",
"source_layer_name": "<source_layer_name>",
"target_map_name": "<target_map_name>"
},
"name": "arcgis_pro_copy_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aprx_path | Yes | ||
| add_position | No | AUTO_ARRANGE | |
| source_map_name | Yes | ||
| target_map_name | Yes | ||
| source_layer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||