delete_folder
Remove a folder and all its contents, moving it to trash by default or permanently deleting if specified.
Instructions
Delete a folder and all its contents. By default, moves to trash (soft delete). Use permanent=true to permanently delete.
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": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | The unique identifier of the folder to delete | |
| permanent | No | If true, permanently deletes the folder instead of moving to trash |