Logseq MCP Tools

MIT License
  • Apple

remove_block

Permanently deletes a specified block and its child blocks from the Logseq graph using the block ID, with no option to undo the action.

Instructions

Removes a block from the Logseq graph. This operation permanently removes the specified block and all its children. This action cannot be undone. To remove a block, you need its block ID, which can be obtained from: - get_page_blocks() function - get_block() function - search_blocks() function Args: block_id (str): The ID of the block to remove. Returns: dict: Result of the removal operation.

Input Schema

NameRequiredDescriptionDefault
block_idYes

Input Schema (JSON Schema)

{ "properties": { "block_id": { "title": "Block Id", "type": "string" } }, "required": [ "block_id" ], "title": "remove_blockArguments", "type": "object" }
ID: 295dxo9rre