Create Page
create_pageCreate a OneNote page in a specified section from Markdown or HTML content, and attach binary files referenced as name: URIs.
Instructions
Creates a new OneNote page in the given section. Accepts Markdown (default) or HTML; optional attachments upload binary parts referenced from the content via name:<name> URIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Page title (used in the <title> element). | |
| format | No | Content format. "markdown" (default) is converted to HTML; "html" is sent directly (wrapped if it is a body fragment). | markdown |
| content | Yes | Page body. Format is determined by the `format` field. | |
| sectionId | Yes | Section ID to create the page in. | |
| attachments | No | Optional binary attachments. Reference each from `content` via `name:<name>` URIs (e.g. `` in markdown, or `<img src="name:diagram1" />` / `<object data="name:file1" data-attachment="readme.pdf" type="application/pdf" />` in HTML). |