Delete a folder
driftnet_delete_folderDelete a folder while preserving its contents: move items and subfolders up to the parent or 'other' instead of erasing them.
Instructions
Delete one folder. Nothing inside is lost: its items and sub-folders move up to its parent, or to "other" at the top level. Only do it when the reader asked; to empty a folder without deleting it move its items with driftnet_move_items, and to rename it use driftnet_update_folder. Ids are stable lowercase slugs (e.g. 'games', or a generated 'f-…' id for names without Latin letters) that don't change on rename; sub-folders keep their own ids when they move up; "other" is the catch-all and can't be deleted. No tool can undo it, so confirm with the reader first. Fails if the folder does not exist.
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": {
"id": "<id>"
},
"name": "driftnet_delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Folder id |