Onenote Update Page
onenote_update_pageAppends plain-text content to an existing OneNote page without altering its original formatting; optionally guards against overwriting concurrent edits using a last-modified timestamp.
Instructions
APPEND bodyText as one new plain-text paragraph at the end of
the OneNote page identified by pageId. Never replaces or
reformats existing content — the page's original formatting
(bullets, tables, images) is preserved untouched, so updating a
formatted page is safe.
dateExpectedLastModified is a conflict guard, not a write-back
of the read body: pass lastModifiedDateTime exactly as
onenote_get_page returned it, and a mismatch (the page changed
since your read) raises [onenote_page_conflict] — re-read and
retry with the fresh value. OMIT the field for an UNGUARDED
overwrite (no concurrency check at all): the escape hatch for a
page that keeps rejecting a freshly-read value, which OneNote's
lazily-stamped timestamps can cause on pages not written recently.
The page's owning notebook is checked against the
writable-notebook allowlist before any write, same as
onenote_create_page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| bodyText | Yes | ||
| dateExpectedLastModified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| page_id | Yes | ||
| body_text | Yes | ||
| section_id | No | ||
| notebook_id | No | ||
| section_name | Yes | ||
| last_modified | No | ||
| notebook_name | Yes | ||
| body_text_incomplete | No |