archive_toggle
Find a toggle by title on a Notion page and archive its entire block. Supports case-insensitive matching, recursive search, and dry-run preview; returns available titles if not found.
Instructions
Archive one toggle by title from a page. Searches recursively and matches plain toggle blocks plus toggleable heading_1, heading_2, and heading_3 blocks using case-insensitive trimmed text. Archives the matched container block; children are not deleted individually. Missing titles return the available toggle titles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Toggle title to find (case-insensitive) | |
| dry_run | No | Preview the archive target without mutating Notion. Default false. | |
| page_id | Yes | Page ID |