Skip to main content
Glama

Logseq MCP Tools

by apw124

remove_block

Permanently deletes a specified block and its children from the Logseq graph using its block ID. This action is irreversible. Obtain the block ID via functions like get_page_blocks, get_block, or search_blocks.

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" }

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