Skip to main content
Glama

Logseq MCP Tools

by apw124

move_block

Move a block and its children to a new location in Logseq. Choose to place it as a child or sibling of the target block using block and target IDs for precise organization.

Instructions

Moves a block to a new location in the graph. Moves a block and all its children to a different location. - as_child=True: Block becomes a child of the target - as_child=False: Block becomes a sibling after the target Args: block_id: The ID of the block to move. target_block_id: The ID of the target block to move to. as_child: Whether to make the block a child of the target (default: False). Returns: Result of the move operation.

Input Schema

NameRequiredDescriptionDefault
as_childNo
block_idYes
target_block_idYes

Input Schema (JSON Schema)

{ "properties": { "as_child": { "default": false, "title": "As Child", "type": "boolean" }, "block_id": { "title": "Block Id", "type": "string" }, "target_block_id": { "title": "Target Block Id", "type": "string" } }, "required": [ "block_id", "target_block_id" ], "title": "move_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/apw124/logseq-mcp'

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