vault_trash
Soft-delete Markdown notes outside dot-folders by moving them to .trash/, refuse folders, and warn about broken incoming links; use vault_move to relocate files.
Instructions
Soft-delete a note by moving it to .trash/ (Obsidian convention). Only .md notes outside dot-folders can be trashed; folders are refused (trash the notes inside one by one). Reports files with broken incoming links as warnings. Use vault_move to relocate files instead. Paths in this tool's output are formatted as markdown links [vault-relative-path.md](obsidian://...) so users can Cmd/Ctrl-click to open in Obsidian. Preserve the link form when relaying paths to the user; pass only the bracket text (e.g. 01-Projects/Foo/note.md) to other vault tools' path arguments, never the full markdown link.
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": {
"path": "<path>"
},
"name": "vault_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to trash (exact path required) |