Move folder to trash
trash_folderMove a folder and everything in it into the Trash/ folder at the vault root, keeping its folder path. Links to notes in it aren't rewritten. 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_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | vault-relative folder path, for example Projects/Old |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 folder was moved to |