update_page
Update a OneNote page title or body, replace a block, or edit text within a block to keep page content current.
Instructions
Alias for update_block. Update a page title or body, replace a block, or edit text within a block.
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": "<page>"
},
"name": "update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| force | No | Override conflict check when true | |
| title | No | ||
| compact | No | Default true. Set false to include the full page object in the response. | |
| section | No | Optional section name, Notebook/Section path, ID, or scoped key to narrow title lookup | |
| block_id | No | Graph element ID from get_page (e.g. `p:{...}`) | |
| markdown | No | ||
| with_text | No | New text for replace_text | |
| replace_text | No | Exact text to replace in block_id; provide with_text and omit markdown | |
| expected_content | No | Baseline block/page content from prior read; aborts with conflict if remote changed |