Update OneNote Page
update_onenote_page_contentAppend, insert, prepend, or replace HTML content on a OneNote page without rewriting the entire page, targeting a specific element such as the body.
Instructions
Append to or modify a OneNote page's content without rewriting it. Targets an element (default 'body') and applies an action. Content is HTML.
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": {
"page_id": "<page_id>",
"content": "<content>"
},
"name": "update_onenote_page_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Update action (default: append) | |
| target | No | Target element data-id or known name (default: body) | |
| content | Yes | HTML content to apply | |
| page_id | Yes | Page ID to update | |
| position | No | Position relative to target, for insert |