Delete Block
delete_blockRemove a block from a Mnemosyne knowledge graph document by its ID, with an option to delete all related child blocks in a cascade operation.
Instructions
Delete a block by its ID. Use cascade=true to also delete all subsequent blocks with higher indent (indent-based children). Returns the list of deleted block IDs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graph_id": "<graph_id>",
"document_id": "<document_id>",
"block_id": "<block_id>"
},
"name": "delete_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| document_id | Yes | ||
| block_id | Yes | ||
| cascade | No |