trash
Move a file or folder into a vault's encrypted, logged, recoverable deleted-items area; permanent deletion requires separate approval.
Instructions
Put a file or folder (with everything in it) in the vault's own trash, the way to remove things here. It stays encrypted in the vault, the change is logged, and undo takes it back out; trash_list shows what's there. Deleting for good happens only with empty_trash, which the user approves. Returns the path and the change id; if the user asked to approve this, it may instead return a question for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A path inside the vault, from its top, for example 'Taxes/2025/receipts.md'. | |
| vault | Yes | The vault's name, as listed by the vaults tool, for example 'Taxes'. | |
| confirm | No | Leave empty. Only pass the code a previous answer gave you, after the user agreed. | |
| purpose | Yes | A few words on why, shown to the user or kept in the vault's change log. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |