sonarr_system_commands
Manage Sonarr system operations: list and run commands, check health, view routes, tasks, logs, and backups, and control the service with restart, shutdown, or restore.
Instructions
sonarr system commands operations on Sonarr. Pass operation and an arguments dict matching that operation's parameters.
sonarr_delete_command(id) — Delete queued/running commands. DESTRUCTIVE: this deletes data.
sonarr_delete_system_backup(id) — Delete system backups. DESTRUCTIVE: this deletes data.
sonarr_get_command(id) — Fetch a single queued/running commands by id.
sonarr_get_health() — List health.
sonarr_get_system_routes() — List registered API routes.
sonarr_get_system_routes_duplicate() — List duplicate registered API routes.
sonarr_get_system_status() — List system status.
sonarr_get_system_task() — List scheduled tasks.
sonarr_get_system_task_by_id(id) — Fetch a single scheduled tasks by id.
sonarr_list_command() — List queued/running commands.
sonarr_list_log(page=1, page_size=10, sort_key='', sort_direction='', level='') — List server logs. Query params: sort_key, sort_direction, level.
sonarr_list_log_file() — List log files.
sonarr_list_log_file_update() — List update log files.
sonarr_list_system_backup() — List system backups.
sonarr_ping() — Ping the server to verify it is reachable and authenticated.
sonarr_restart_sonarr() — Restart the Sonarr service. WRITE: this modifies your Sonarr instance.
sonarr_restore_backup(id) — Restore Sonarr from a backup. WRITE: this modifies your Sonarr instance.
sonarr_restore_backup_upload() — Restore Sonarr from an uploaded backup file (multipart upload - limited support). WRITE: this modifies your Sonarr instance.
sonarr_run_command(body={}) — Run a Sonarr command (body is a CommandResource with a
name, e.g. RefreshSeries, SeriesSearch, DownloadedEpisodesScan). WRITE: this modifies your Sonarr instance.sonarr_shutdown_sonarr() — Shut down the Sonarr service. WRITE: this modifies your Sonarr instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |