Get page content
getPageFetch a OneNote page by ID, returning readable text by default. Choose raw HTML or include element IDs to enable later modifications.
Instructions
Read one page by ID. Returns readable text by default; pass format="html" for the raw XHTML, and includeIds=true if you intend to modify the page afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "text" for readable Markdown-ish text (default), "html" for raw OneNote XHTML. | |
| pageId | Yes | Page ID from listPages or searchPages. | |
| maxLength | No | Truncate content to this many characters. Defaults to 12000, which covers almost every real page. Raise it only if a page is reported as truncated and you need the rest. | |
| includeIds | No | Include OneNote element IDs, required for later PATCH operations. |