append_to_page
Appends HTML content to the end of an existing OneNote page, saving a version first. Use it to add notes, sections, or embedded files without rewriting the whole page.
Instructions
Append HTML content to the end of an existing page. A version of the page is saved first.
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": {
"pageId": "<pageId>",
"html": "<html>"
},
"name": "append_to_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| pageId | Yes | ||
| 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. |