Delete a folder
delete_folderDeletes a folder a person made and the folders under it. Their threads go to the Trash, where they stay readable and restorable for 30 days by default, or for the retention set on the account; nothing is deleted for good. The answer says how many went there.
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, by its id from list_folders. |