set_basic_filter
Set or clear a basic filter on a Google Sheet by providing the sheet and optional range. Use clear to remove filter or dry_run to preview changes.
Instructions
Set (or clear) the basic filter of a sheet.
Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. sheet: Sheet name OR gid string. range: Bare A1 range for the filter. None = whole sheet. clear: If true, remove the existing basic filter instead. dry_run: If true, return the execution plan without changing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| range | No | ||
| sheet | Yes | ||
| dry_run | No | ||
| spreadsheet_id_or_url | Yes |