list-site-onenote-sections
list-site-onenote-sectionsList all OneNote sections from a SharePoint site, including those inside nested section groups, with automatic pagination for large notebooks.
Instructions
List ALL sections of a SharePoint site's OneNote notebooks regardless of section-group nesting (newest-modified first; paginates past 100 automatically). Each item carries parentNotebook and parentSectionGroup. Best entry point for large notebooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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" | |
| siteId | Yes | SharePoint site id (from search-sites) | |
| 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. |