clear_selection
Clears the selected features on a specific layer or every layer in an ArcGIS Pro map, helping reset selections before queries, edits, or geoprocessing.
Instructions
Clear the selection on one layer, or on every layer in the map.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | No | Layer to clear; default all layers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |