list-site-onenote-notebook-sections
list-site-onenote-notebook-sectionsList sections in a SharePoint-hosted OneNote notebook by site and notebook ID, newest-modified first, and page through more than 100 sections automatically.
Instructions
List sections of a SharePoint-hosted OneNote notebook (newest-modified first; paginates past 100 sections automatically).
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 | |
| 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. | |
| notebookId | Yes | Notebook id (from list-site-onenote-notebooks) |