Search OneNote pages
onenote_search_pagesFind OneNote pages whose title or text contains all query words. Narrow results by section or notebook and scan recent pages when full-text search is unavailable.
Instructions
Finds pages whose title or text contains all the query words. Title matches are searched server-side; text matches scan the most recently modified pages in scope (Microsoft Graph has no full-text OneNote search). Narrow with section_id or notebook_id for thorough results. Text inside screenshots is only matched via alt text; open pages with onenote_get_page to read screenshots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Words to find (all must appear, case-insensitive). | |
| section_id | No | ||
| notebook_id | No | ||
| search_content | No | Also search page text, not just titles. | |
| max_pages_to_scan | No | How many recent pages to scan for text matches. |