Skip to main content
Glama

Logseq MCP Tools

by apw124

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

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/apw124/logseq-mcp'

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