update_notebook_page
Change a page's text, title, order or section, or move it. text replaces, append adds at the end; '- ' at the start of a line is written as '* '. New text shows up immediately in an open client.
Instructions
Change a page's text, title, order or section, or move it. text replaces, append adds at the end; '- ' at the start of a line is written as '* '. New text shows up immediately in an open client. Move: the section does not follow (sectionId null). The first page of a notebook with a parent is not moved out — it is the parent's note. Moving to a project or category without a notebook creates one in the app's shape. The response says when an order change switches which page the parent's note points to. Relies on undocumented writes (/doc/create and /doc/update, marked experimental by Marvin); the shape is matched against app 1.71.
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>"
},
"name": "update_notebook_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | No | New order (lowest rank = page 1) | |
| text | No | New text (replaces) | |
| title | No | New title | |
| append | No | Text to add at the end (after a blank line) | |
| page_id | Yes | The page's id (pg_...) | |
| section_id | No | Section id, '' = no section | |
| move_to_parent_id | No | Move the page to a project's or category's notebook (created if needed) | |
| move_to_notebook_id | No | Move the page to this notebook |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||