Move note to trash
trash_noteMove a note into the Trash/ folder at the vault root, keeping its folder path. Restore it in Obsidian by moving it back. Returns once Obsidian Sync has the move, or after about 35s with uploaded false.
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": "trash_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | vault-relative note path, as returned by list_files or search_notes, or an obsidian:// URL for a file in this vault |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | vault-relative path of the note before the move | |
| uploaded | Yes | whether ob confirmed the upload to Obsidian Sync; if false the change is saved and still queued for upload | |
| trashed_to | Yes | vault-relative path the note was moved to |