delete_folder
Deletes an empty folder from the vault and rejects requests when the folder contains items or is the vault root, preventing accidental data loss.
Instructions
Delete an empty folder. Fails if the folder still has anything in it, or if it is the vault root.
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 | Path of the folder to delete |