update_block
Update block content by UUID
How to use it
update_block is exposed by the Logseq Api MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the update_block tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL LOGSEQ API MCP LISTINGOther tools in Logseq Api MCP (21)
Add blocks at the end of a page
Create a page with optional properties and format
Delete a block by UUID
Remove a page permanently
Replace a block's content by UUID
Filter pages by property key and optional value
Complete page: properties, blocks, DB refs expanded
Every page with ID, UUID, journal flag, and namespace
Block detail with properties and immediate children
Q&A flashcard pairs from a page and all linked pages
Full backlink analysis including block-level references
Hierarchical block tree with IDs, UUIDs, and child counts
Pages linking to a target page
All pages under a Logseq namespace
Nested tree of namespace pages
Insert a child or sibling block relative to another block
Raw Datalog / DSL queries against the graph
Rename a page and update all references
Full-text search across blocks, pages, and file names
Set structured properties on a block (DB-mode only)
Append or replace content on an existing page