Delete Media
delete_mediaPermanently delete a media item from your library (cleanup). Irreversible. Compositions referencing it will fail to render — only delete media no composition still needs.
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": {
"mediaItemId": "<mediaItemId>"
},
"name": "delete_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commandId | No | Retry identity. A call repeated with the same commandId returns the first result instead of acting twice. | |
| mediaItemId | Yes | mediaItemId (path). |