delete_folder
Removes a folder from the vault by path, failing on non-empty folders unless force is set. Preview contents first with dry_run to confirm what will be deleted.
Instructions
Delete a folder. Fails if non-empty unless force is true. Use dry_run to preview what would be deleted.
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": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path of the folder to delete. | |
| force | No | Delete folder and all its contents. Defaults to false. | |
| dry_run | No | If true, list contents without deleting. Defaults to false. |