Delete Asset
delete_assetRemove files and database records from the LightCMS library by specifying the asset ID to manage content storage.
Instructions
Delete an asset from the library. Removes both the file and database record.
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_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset ID (MongoDB ObjectID),required |