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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deletes the block + cascades to meta and lineage | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |