delete_cell
Deletes a block and all its children, assignments and linked dependencies. The deletion is PERMANENT: no trash and no undo by the tool (only a version saved before the call, via restore_version — which replaces the WHOLE schema —, gets back what was deleted). It takes away what is listed here and what depends on the block (its content, its sharing grants, its block links); the attached comments, tasks and documents are not destroyed (they survive, detached). This is NOT an erasure of personal data: that goes through deleting the account or the project. Returns the complete list of what was deleted. dryRun:true PREVIEWS exactly what would be taken away (same report, nothing is deleted): a way to warn the user of a cascading deletion. If comment threads were anchored on the deleted blocks, they SURVIVE (they are not destroyed) but become invisible on the canvas: the response flags it via orphanedComments + note when that is the case. Same for the linked TASKS (create_tasks): they survive (they are not deleted), become "no subject" and re-attach automatically if a block with the same id is recreated — flagged via detachedTasks + note when that is the case.
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": {
"id": "<id>"
},
"name": "delete_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the block to delete | |
| dryRun | No | If true, computes and returns the EXACT cascade (blocks, assignments, dependencies) WITHOUT DELETING ANYTHING. Useful to warn a user of what a delete_cell would take away ahead of actually running it — omitted or false, the deletion is real (behavior unchanged). | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |