Page Index
indexSearch OneNote pages offline using a local mirror of notebooks, sections, and page IDs to avoid Graph round trips. Sync or rebuild to refresh the mirror.
Instructions
Maintains a local mirror of the OneNote structure (notebook/section/page names and IDs) so page lookup and search are instant instead of costing a Graph round trip each. Search and status are offline. Sync/rebuild hit Graph and can take minutes on a large account — prefer sync, and scope it with sections when you know what changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | status: report what the index holds. search: query it offline. sync: refresh page lists (all or listed sections) keeping the skeleton. rebuild: full walk of the account. rebuildSkeleton: re-read notebooks/sections only, keeping page data for surviving sections. | |
| limit | No | Max search results (default 25). | |
| query | No | Search text (mode: search). | |
| section | No | Restrict search to a section name (mode: search). | |
| notebook | No | Restrict search to a notebook name (mode: search). | |
| sections | No | Section IDs to refresh (mode: sync). Omit to refresh every section. | |
| concurrency | No | Parallel Graph requests (default 5). Lower it if Graph throttles with 429s. |