Add a film, series, site, artist or book
add_mediaAdd a film, series, site, artist, or book to Radarr, Sonarr, Whisparr, Lidarr, or Shelfmark and start a search by default.
Instructions
Adds a film to Radarr, a series to Sonarr, a site to Whisparr, an artist to Lidarr or a book to Shelfmark, and by default starts a search. A book (the search row id) queues its most-downloaded file; none on offer fails. For a Seerr request that goes through approval, use request_media. Ids come from search_media source: "discover", under ids: TMDB for Radarr, TVDB for Sonarr, TVDB for Whisparr (its own scene id in that field) and MusicBrainz for Lidarr. With more than one quality profile or root folder, name one: call without them and the preview refuses with the list. Lidarr takes monitor (which albums), monitor_new_items and metadata_profile; monitor: "none" needs monitored: false with it, and its search on add covers only monitored, released albums. An option sent to the wrong service is refused, not dropped. Previews first; confirm to add. Field reference: arr://docs/add_media.
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>",
"external_id": "<external_id>"
},
"name": "add_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | An existing folder under a root folder to adopt as it is, files and all. Not on Lidarr. | |
| tags | No | Tag labels or ids the service already has. An unknown label is refused, listing the ones that exist; nothing here ever creates a tag. | |
| 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. | |
| monitor | No | Sonarr or Whisparr: which seasons to monitor. `future` is "only what has not aired yet", `all` is everything, `none` monitors the series but no season. `pilot` is Sonarr only: a site has no pilot scene. Lidarr: which albums, `first` or `latest` album, or `all`, `future`, `missing`, `existing` or `none`; `firstSeason`, `lastSeason` and `pilot` are refused there, and `first` and `latest` everywhere else. Omit for the service's own default. Radarr has no seasons: use `monitored` there. | |
| service | Yes | radarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist or shelfmark for a book. | |
| instance | No | Which instance (e.g. "4k") when several of this service exist. Omit it when there is one. | |
| monitored | No | Monitor it for downloads. Defaults to true. | |
| search_now | No | Start searching immediately. Defaults to true, or false with `path`. | |
| external_id | Yes | The TMDB id for radarr or TVDB id for sonarr or whisparr, as an integer string. The MusicBrainz artist id, a GUID, for lidarr. For a book, the `id` of its search row. From search_media `source: "discover"`. | |
| root_folder | No | Root folder path, or any distinctive part of it. Optional only when the service has exactly one. | |
| series_type | No | Sonarr only: the numbering scheme. `anime` for absolute numbering, `daily` for date-based. | |
| quality_profile | No | Profile name or id. Optional only when the service has exactly one. | |
| metadata_profile | No | Lidarr only: metadata profile name or id, which decides the album types and release statuses the artist gets. Optional when the root folder names a default, or when Lidarr has only one besides its reserved `None`, which gives an artist no albums and is used only when named or set as the root folder's default. | |
| monitor_new_items | No | Lidarr only: the rule for albums Lidarr discovers later: `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on update_media. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import. Sonarr: `all` (the default) or `none`, whether seasons it finds later are monitored. | |
| minimum_availability | No | Radarr only: how early it may grab. Defaults to `released`, which is what stops a brand-new film grabbing a cinema recording the day it is announced. |
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 |