Remove Layer
remove_layerRemove a named layer from an ArcGIS Pro map. This deletion is permanent and cannot be undone.
Instructions
Remove a layer from a map by name. This cannot be undone.
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": {
"layer": "<layer>"
},
"name": "remove_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| map_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||