Logseq MCP Tools

get_block

Retrieve a specific block from a Logseq graph by its ID, including hierarchical details like parent ID, indentation level, and adjacent blocks. For journal blocks, it provides date-related information.

Instructions

Gets a specific block from the Logseq graph by its ID. The returned block contains information about its hierarchical structure: - parent: The parent block's ID - level: The indentation level (1 for top-level, 2+ for indented blocks) - left: The block to the left (typically the parent for indented blocks) If the block is from a journal page, it will include: - "journal?": true - "journalDay": YYYYMMDD - Date in numeric format Args: block_id (str): The ID of the block to retrieve. Returns: dict: Information about the requested block.

Input Schema

NameRequiredDescriptionDefault
block_idYes

Input Schema (JSON Schema)

{ "properties": { "block_id": { "title": "Block Id", "type": "string" } }, "required": [ "block_id" ], "title": "get_blockArguments", "type": "object" }

You must be authenticated.

Other Tools from Logseq MCP Tools

Related Tools

ID: rp8sl0uwus