Remove media
remove_mediaRemove from project: takes media items and all their clips out of this project. The files stay in the workspace's library (delete_asset deletes one from there), unless alsoDelete: then the ones uploaded in this project that no other project uses go to Recently deleted too (a file uploaded by mistake). Undo brings the items back to the project for 30 days; restore_asset brings a deleted file back to the library.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | No | ||
| mediaIds | No | ||
| projectId | No | Project to act on (default: the open one) | |
| alsoDelete | No | also delete from the library the files only this project used |