Skip to content

create_page with markdown content results in broken block structure #13

@HarvsG

Description

@HarvsG

When using create_page with a multi-line markdown string (containing headers, bullets, etc.), the result in Logseq is malformed.

Observed Behavior:

  1. The first block created contains only the single character "S" (or the first character of the string).
  2. The entire remainder of the content is dumped into a single second block, ignoring markdown structure (headers do not become parent blocks, bullets are just text).

Expected Behavior:
The markdown string should be parsed into a hierarchy of blocks (headers as parents, bullets as children), or at least split into separate blocks by newline.

Context:

  • Tool: mcp-logseq (via uvx)
  • Client: OpenClaw (MCP) - Gemini (have also seen the issue with Claude Desktop)
  • Logseq version: DB/Local API

This makes creating complex templates impossible via the MCP tool currently. As the agent seems confused on how to format the requests

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions