delete_data_source
Deletes a data-source block and all its lineage connections. 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. If comment threads were anchored on it, they SURVIVE (they are not destroyed) but become invisible on the canvas: reported via orphanedComments + note. Same for the attached TASKS (create_tasks): they survive, move to 'No subject' and re-attach automatically if a block with the same id is recreated — reported via detachedTasks + note.
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_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deletes the block + cascades to meta and lineage | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |