update_page
Update existing OneNote pages by applying patch commands to append, prepend, insert, replace, or delete elements. Obtain element IDs via get_page with include_ids=true for precise targeting.
Instructions
Update an existing OneNote page by applying patch commands. Supports append, prepend, insert, replace, and delete operations on specific elements. Call get_page with include_ids=true first to obtain element IDs for precise targeting.
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>",
"commands": "<commands>"
},
"name": "update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | The ID of the OneNote page to update | |
| commands | Yes | Array of patch commands (1–20) |