Update Page
update-pageUpdate OneNote page content by applying JSON patch operations to append, insert, or replace elements using their data-id attributes.
Instructions
Update the content of an existing OneNote page using JSON patch commands. Each patch specifies a target element, an action (append, insert, replace), and content. Before updating, use get-page-content with includeIds=true to get element IDs for targeting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The unique identifier of the page to update | |
| patches | Yes | Array of patch operations to apply to the page |