Get an anime/manga's characters
get_media_charactersLists an anime's or manga's characters by role (MAIN, SUPPORTING, BACKGROUND) and returns anime voice actors per dub language. Resolve a title with search_media to get the AniList ID first.
Instructions
List an anime/manga's characters with their role (MAIN/SUPPORTING/BACKGROUND) and, for anime, their voice actors. Use search_media first to resolve a title to its AniList ID. Grouped by role — MAIN first, then SUPPORTING, then BACKGROUND (confirmed live) — and in AniList's own relevance order within each. Voice actors come back in every dub language unless you set voiceActorLanguage; set role to list only one role (e.g. just the MAIN cast).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | AniList ID. | |
| page | No | Page number for pagination. AniList's paginated connections (search results, a title's characters/staff/reviews, activity feeds, forum comments) reject a page whose page × perPage exceeds ~5000 entries with an upstream error, so paging that deep fails rather than returning more results. | |
| role | No | Only return characters with this role. Omit for every role. | |
| type | Yes | Whether `id` refers to anime or manga. | |
| perPage | No | Results per page (max 25, AniList's own ceiling — it silently clamps anything higher). | |
| voiceActorLanguage | No | Only return voice actors for this dub language (e.g. JAPANESE for the original cast, ENGLISH for the English dub). Omit for every language — AniList then returns all dubs per character (8 for most of Attack on Titan's main cast), which multiplies the response size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| characters | Yes |