delete_media_file
Permanently delete a media file by its media ID. Linked campaigns or templates will show a broken file, and the deletion cannot be undone.
Instructions
Permanently delete a media file. Campaigns or templates that still link to its URL will show a broken file. This cannot be undone.
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": {
"media_id": "<media_id>"
},
"name": "delete_media_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | Media ID |