archive_toggle
Find a toggle by title on a Notion page and archive its entire block. Recursively searches toggle blocks and toggleable headings; missing titles return available options.
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 |
|---|---|---|---|
| page_id | Yes | Page ID | |
| title | Yes | Toggle title to find (case-insensitive) | |
| dry_run | No | Preview the archive target without mutating Notion. Default false. |