update_page
Update a Logseq page by appending or replacing its blocks and setting properties. Accepts markdown content parsed into proper block hierarchy.
Instructions
Update a page in Logseq with new content and/or properties.
Supports two modes:
append: Add new blocks after existing content (default)
replace: Clear all existing blocks and add new content
Markdown is parsed into proper block hierarchy just like create_page. YAML frontmatter in content will be merged with explicit properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_name | Yes | Name of the page to update | |
| content | No | Markdown content to add or replace with | |
| mode | No | append: add after existing content. replace: clear page and add new content. | append |
| properties | No | Page properties to set/update |