Delete folder
delete_folderDeletes a folder. Any subfolders inside it are deleted with it (cascade). Videos filed under any deleted folder are NOT deleted — they become unfoldered (folder_id set to null). Returns { success: true } on completion.
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": {
"folder_id": "<folder_id>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | The folder to delete. Get it from list_folders. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |