Logseq MCP Tools

update_block

Modify existing blocks in Logseq graphs by updating content and properties. Preserves journal attributes and formats links using double brackets. Ideal for dynamic knowledge base management.

Instructions

Updates an existing block in the Logseq graph. IMPORTANT NOTES: 1. All blocks are automatically formatted as bullet points in Logseq UI 2. To create links to other pages, use double brackets: [[Page Name]] When updating blocks on journal pages: - The "journal?" and "journalDay" attributes will be preserved - "journalDay" will remain in YYYYMMDD format (e.g., 20250404) Args: block_id (str): The ID of the block to update. content (str): The new content for the block. properties (dict, optional): Properties to update on the block. Returns: dict: Information about the updated block.

Input Schema

NameRequiredDescriptionDefault
block_idYes
contentYes
propertiesNo

Input Schema (JSON Schema)

{ "properties": { "block_id": { "title": "Block Id", "type": "string" }, "content": { "title": "Content", "type": "string" }, "properties": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Properties" } }, "required": [ "block_id", "content" ], "title": "update_blockArguments", "type": "object" }

You must be authenticated.

Other Tools from Logseq MCP Tools

Related Tools

ID: rp8sl0uwus