move_layer_order
Rearrange layer drawing order by moving a specified layer before or after a reference layer, controlling cartographic stacking in ArcGIS Pro projects.
Instructions
Move a named layer before or after a reference layer in the map drawing order using map.moveLayer. Use this to control cartographic stacking, for example placing boundaries above imagery or analysis results above base layers. This updates the saved .aprx project when save=true.
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": {
"params": "<params>"
},
"name": "move_layer_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||