folder-delete
Permanently delete a folder. deleteSubfolders: true also deletes child folders, deleteContents: true the documents inside; both default false, so sub-folders and documents move to the parent (or root). Both true on a populated tree wipes a lot of data — confirm with the user first.
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": {
"folderId": "<folderId>"
},
"name": "folder-delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | Folder ID to delete | |
| deleteContents | No | Also delete documents inside the folder. Default false (orphan to root). | |
| deleteSubfolders | No | Recursively delete child folders. Default false (orphan to parent). |