Clear all filters on a layer (direct, gated)
clear_filtersWipe every predicate currently applied to a layer's filter chain, making every source feature visible again. Inverse of filter_layer. No-op on layers that have no existing filter. GATED: pass confirmed:true to proceed; otherwise a needs_confirmation envelope is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_id | Yes | ||
| layerId | Yes | ||
| confirmed | No | Set to true to confirm this sensitive action. If omitted or false, the call returns a needs_confirmation envelope. A cleared filter chain can be restored with undo. | |
| rationale | No | Optional short label (≤300 chars) for the map edit history, e.g. "add wildfire layer". Omit it to send nothing beyond the tool arguments. |