Library
get_libraryList and count movies, series, artists, and books across *arr apps and your media server, with filters and presence checks to spot unmanaged or broken imports.
Instructions
Your library joined across Radarr, Sonarr, Whisparr, Lidarr, Grimmory and your media server on shared external ids. Use it for filtered lists and counts; for one title use get_media_details. presence is what no single service can tell: arr_only with a file is a likely broken import, jellyfin_only (spelled that way for any media server) is media nothing manages, and unknown means the other half was not read. When degraded or note explain a gap, report that reason rather than calling it unwatched or unrated. has_file: false with monitored: true is what you are still waiting for. An artist's monitored is the artist-level flag, not the album flag; its albums and their ids come from get_media_details on the Lidarr artist. A series has an IMDb rating only with the IMDb dataset on, so ask rating_source: "imdb" explicitly. Series seasons and folder paths need detail: "full". Field reference: arr://docs/get_library.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only films, series, Lidarr artists or Grimmory books; omit for all. | |
| sort | No | Order applied before `limit`: rating, added and year descending, title ascending; set it when paging with `offset`, or items can move between pages. | |
| user | No | Whose playback to read; defaults to the configured default_user, any other needs allow_other_users. | |
| year | No | ||
| genre | No | Matched case-insensitively against the *arr genres. | |
| limit | No | Maximum items to return. | |
| detail | No | How much per-item detail to return. | standard |
| offset | No | Items to skip: page two of 50 is `offset: 50`. | |
| library | No | A Grimmory library, by name; matches books only. | |
| quality | No | Films, or a book's file format such as EPUB. | |
| watched | No | The media server's watch state, or a Grimmory book's read status; pair with `user` for someone else. | |
| has_file | No | Whether a file is on disk; for an artist, any track. | |
| presence | No | both, arr_only (likely broken import), jellyfin_only (unmanaged, any media server) or unknown (the other half was not read). | |
| monitored | No | ||
| min_rating | No | Minimum rating on a 0-10 scale, whatever the source. | |
| watched_by | No | ||
| added_since | No | Only items added at or after this ISO 8601 date; items with none are left out. | |
| rating_source | No | Which rating `min_rating` and `sort: "rating"` use; defaults to the best-covered source. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| items | Yes | ||
| total | Yes | ||
| counts | No | ||
| offset | Yes | ||
| degraded | Yes | ||
| returned | Yes | ||
| truncated | Yes |