Delete a folder
tp_delete_folderDeletes a folder from the user's TransformPipe account. Use it when the user asks to delete or remove a folder. By default the folder alone is removed and its documents and subfolders move up one level, to its parent folder or the top level. With with_documents: true, every document in the folder and its subfolders is permanently deleted as well. A shared folder's link stops working. Deletion cannot be undone. confirm: true is required on every call and is set after the user has named the folder and agreed to delete it; without it nothing is deleted and the response describes what the folder contains and what would happen to it.
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": "<folder>",
"confirm": "<confirm>"
},
"name": "tp_delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | The folder: an id from tp_list_folders, or a path from the top such as "Devart AI/Home". | |
| confirm | Yes | Set true after the user has asked for this folder to be deleted — and, with `with_documents`, its documents. | |
| with_documents | No | Also move every document in the folder and its subfolders to the Trash, where they are kept 14 days. Default false: they move up one level. |