Run a Sonarr command
sonarr_run_commandQueue any named Sonarr command with optional parameters—RSS sync, series refresh, searches, backups—and optionally wait for it to finish.
Instructions
Queue any Sonarr command by name with optional parameters. Common commands: RssSync, RefreshSeries {seriesIds}, RescanSeries {seriesId}, RenameSeries {seriesIds}, RenameFiles {seriesId, files}, DownloadedEpisodesScan {path}, RefreshMonitoredDownloads, EpisodeSearch {episodeIds}, SeasonSearch {seriesId, seasonNumber}, SeriesSearch {seriesId}, MissingEpisodeSearch, CutoffUnmetEpisodeSearch, CheckHealth, Backup, ClearBlocklist, CleanUpRecycleBin, ApplicationUpdate.
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": {
"name": "<name>"
},
"name": "sonarr_run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Command name, e.g. 'RssSync' | |
| wait | No | Seconds to wait for the command to finish (0 = return immediately once queued) | |
| parameters | No | Command-specific parameters, e.g. {"seriesId": 12} |