create_page
Create a OneNote page from HTML with headings, lists, tables, tags, and embedded local files, placing it in a specified notebook, section, or section group.
Instructions
Create a page. bodyHtml supports p, h1-h6, ul/ol/li, table, pre, code, b, i, u, a, img (src can be a public URL or name:), and tags via data-tag, e.g. Task, data-tag="to-do:completed", "important", "question", "idea", "critical", "contact", "remember-for-later". Local images/files go in attachments. Use data-id="..." on elements you want to update later.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"bodyHtml": "<bodyHtml>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| section | No | Section name | |
| bodyHtml | Yes | ||
| notebook | No | Notebook name | |
| sectionId | No | Section id (takes precedence over names) | |
| attachments | No | Local images/files to embed. Reference them in HTML as <img src="name:file1"/> or <object data="name:file1" data-attachment="report.pdf" type="application/pdf"/>. Unreferenced parts are added at the end automatically. | |
| sectionGroup | No | Section group name, to pick a section inside a group |