Delete a film, series, artist or book
delete_mediaRemove a film, series, site, artist, or book from Radarr, Sonarr, Whisparr, Lidarr, or Grimmory by ID, optionally deleting files from disk. Preview first and confirm to apply.
Instructions
Removes a film from Radarr, a whole series from Sonarr, a whole site from Whisparr, a whole artist from Lidarr (by artist id, never an album id) or a book from Grimmory, optionally deleting its files from disk. Grimmory always deletes the files of a book, so it needs delete_files: true and takes no import exclusion. Destructive and not undoable: files are gone, not moved to a recycle bin unless the service itself is configured for one. Takes service and id, never a title: take id from acquisition.id on a get_library or get_media_details record. On Sonarr or Whisparr it deletes the whole series; to remove one season's files or specific episodes, use delete_episode_files instead. Previews first; confirm to delete.
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": {
"service": "<service>",
"id": "<id>"
},
"name": "delete_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The item's id within that service, as an integer string. | |
| confirm | No | The token from this tool's preview; pass it back to apply. | |
| dry_run | No | Preview only, no token issued: for "what if" questions, not the first step of a change. | |
| service | Yes | ||
| instance | No | Which instance (e.g. "4k") when several of this service exist. Omit it when there is one. | |
| delete_files | No | Also delete the files from disk. Defaults to false, which removes only the entry and leaves the media where it is. | |
| seerr_blocklist | No | Radarr and Sonarr: also blocklist it in Seerr, so it cannot be requested again. Defaults to false. | |
| add_import_exclusion | No | Also add an import exclusion so it is never re-added automatically. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noop | Yes | ||
| tier | Yes | ||
| tool | Yes | ||
| target | Yes | ||
| applied | Yes | ||
| dry_run | Yes | ||
| effects | Yes | ||
| service | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| permission | Yes |