sonarr_delete_episode_file
Remove a specific episode file from Sonarr by providing its ID. Set confirm to true to execute deletion, or omit for a dry-run preview.
Instructions
Delete a single episode file by its id (destructive).
Set confirm=True to actually delete; omit or set False for a dry-run preview. Note: files are removed from Sonarr only — hardlinked files are not freed on disk until the torrent is removed too.
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": {
"episode_file_id": "<episode_file_id>"
},
"name": "sonarr_delete_episode_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| episode_file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |