Delete asset
delete_assetDelete files from the workspace's library (assetId from list_media from: folder or workspace): they leave the library and search for Recently deleted, where restore_asset brings them back for 30 days. Projects that use them keep playing and exporting them. Ask the user first, saying how many projects use each (dryRun: true says). To take a file out of this project only, use remove_media.
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": {
"assetIds": "<assetIds>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | only say how many projects use each | |
| assetIds | Yes |