Delete Folder
delete_folderRemove empty folders from LightCMS content management system by specifying the folder ID. This tool helps clean up unused directory structures without affecting content.
Instructions
Delete an empty folder. Cannot delete folders that contain content or subfolders.
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": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Folder ID (MongoDB ObjectID),required |