Skip to main content
Glama

Logseq MCP Tools

update_block

Modify existing blocks in Logseq by updating content or properties, ensuring journal page attributes are preserved. Use block ID and new content to streamline knowledge graph adjustments.

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeysrecipes/logseq-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server