search-onenote-pages
search-onenote-pagesLocate OneNote pages across all personal notebooks by time range, OData filters, and metadata queries, returning newest pages first.
Instructions
List OneNote pages across all personal notebooks, newest first (time filter on lastModifiedDateTime; filter e.g. "contains(title,'x')"). Full-text search is not supported by Graph v1.0 (error 20108). Accounts with many sections get Graph error 20266 here - then go notebook -> sections -> list-onenote-section-pages instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of explicit time range (ISO date or datetime) | |
| from | No | Start of explicit time range (ISO date or datetime, overrides timeRange) | |
| cursor | No | Continuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored. | |
| filter | No | OData $filter expression, e.g. "importance eq 'high'" or "hasAttachments eq true" | |
| search | No | Full-text search query | |
| orderby | No | OData $orderby, e.g. "receivedDateTime desc" | |
| maxItems | No | Maximum items to return across pages (default 50, max 500). Pagination via @odata.nextLink is handled automatically; when the result is truncated, pass its nextCursor as cursor to continue. | |
| timeRange | No | Named time range applied on lastModifiedDateTime |