iflow-mcp_gustavo-meilus_logseq-api-mcp

v0.1.0
iflow-mcp_gustavo-meilus_logseq-api-mcp Checked 16 hours ago Published 10 months ago

Add your description here

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

append_block_in_page

Append a new block to a specified page in Logseq. This tool allows you to add new content blocks to any page in your Logseq graph. You can specify positioning options to control where the block is inserted. Args: page_identifier: The name or UUID of the page to append the block to content: The content of the block to append before: Optional UUID of a block to insert before sibling: Optional UUID of a sibling block for positioning is_page_block: Optional boolean to indicate if this is a page-level block

ParameterTypeDescription
content *string
page_identifier *string
before
is_page_block
sibling

create_page

Create a new page in Logseq. This tool allows you to create new pages in your Logseq graph with optional properties and format specifications. The page will be created and can be immediately used for adding content. Args: page_name: The name of the page to create properties: Optional dictionary of properties to set on the page format: Optional format for the page ("markdown" or "org")

ParameterTypeDescription
page_name *string
format
properties

edit_block

Edit a block in Logseq. This tool allows you to edit existing blocks in your Logseq graph by updating their content, properties, or cursor position. The block can be identified by its UUID or by providing a BlockIdentity object. Args: block_identity: The UUID of the block to edit (BlockIdentity) content: Optional new content for the block properties: Optional dictionary of properties to update on the block cursor_position: Optional cursor position for editing (0-based index) focus: Optional boolean to focus the block after editing…

ParameterTypeDescription
block_identity *string
content
cursor_position
focus
properties

get_all_page_content

Get comprehensive page content including all blocks, their full content, and linked references. Args: page_identifier: The name or UUID of the page to get complete content from

ParameterTypeDescription
page_identifier *string

get_all_pages

Get a simple list of all pages in the Logseq graph with essential metadata. Returns a clean listing optimized for LLM consumption with essential identifiers and timestamps for each page. By default shows all pages, but can be limited with start and end parameters. Args: start: Starting index (0-based, inclusive). If None, starts from beginning. end: Ending index (0-based, exclusive). If None, goes to end.

ParameterTypeDescription
end
start

get_block_content

Get detailed content and metadata for a specific block using its UUID. Returns comprehensive block information formatted for optimal LLM consumption including properties, relationships, and content. Args: block_uuid: The UUID of the block to retrieve

ParameterTypeDescription
block_uuid *string

get_linked_flashcards

Get flashcards from the specified page and all pages that link to it. Retrieves blocks from the target page and all linked pages, identifies flashcard blocks by #card tag, and extracts questions and answers with comprehensive metadata. Args: page_identifier: The name or UUID of the page to search flashcards from

ParameterTypeDescription
page_identifier *string

get_page_blocks

Get the tree structure of blocks that compose a page in Logseq. Returns a hierarchical view of all blocks with their essential metadata, formatted for optimal LLM consumption with clear tree visualization. Args: page_identifier: The name or UUID of the page to get blocks from

ParameterTypeDescription
page_identifier *string