Delete Layer Selection
arcgis_pro_delete_layer_selectionDeletes selected features from the current layer's selection, requiring a non-empty selection and matching expected count to prevent unintended edits. Bypasses ArcGIS Pro's UI undo stack.
Instructions
删除 CURRENT 图层当前选择集中的要素;拒绝空选择且必须匹配 expected_count,不进入 Pro UI Undo 栈。
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>",
"layer_name": "<layer_name>",
"expected_count": "<expected_count>"
},
"name": "arcgis_pro_delete_layer_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aprx_path | Yes | ||
| layer_name | Yes | ||
| expected_count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||