delete_file
Destructive
Move a note, an attachment or a folder (with everything in it) to the brain's trash: the brain's owner can restore it from the Trash page of Cobrain for 30 days, then it is deleted for good. Previous versions come back with the note. Trashed notes still count toward the plan's note limit. Everything stays inside Cobrain. No tool can see or restore the trash.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| workspace | No | Brain to act on: its id, «mio» (yours), or the owner's name/email as shown by search. Usually OMIT it: a path that already lives in one brain is found there, for reads and writes alike. Pass it only when the tool tells you to (a NEW branch, or one that exists in several brains) — with the brain the user named; when they were not explicit ASK THEM. A brain where the branch does not exist is refused even if you name it. |