Find Pages
find_pagesSearch OneNote pages by text to get matching page IDs, titles, and locations. Limit results to a section, notebook, or entire account, and optionally include page body content.
Instructions
Searches OneNote pages by text and returns matches with page IDs, titles, and where they live. Works section-scoped, notebook-scoped, or across the whole account. This is the working alternative to search_pages, which relies on a Graph search endpoint that rejects requests on this account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return (default 25). | |
| query | Yes | Text to look for. Case-insensitive substring match, so plain words work — no operators, wildcards, or quotes. | |
| sectionId | No | Limit the search to one section (fastest). | |
| notebookId | No | Limit the search to one notebook. | |
| includeContent | No | Also search page bodies, not just titles. Much slower: it downloads each page. Off by default. | |
| maxContentPages | No | Cap on pages downloaded for the content pass (default 100, max 300). |