Get an anime/manga's characters
get_media_charactersRetrieve an anime or manga's character list with roles (Main/Supporting/Background) and Japanese voice actors for anime. Requires the AniList ID and media type.
Instructions
List an anime/manga's characters with their role (Main/Supporting/Background) and, for anime, Japanese voice actors. Use search_media first to resolve a title to its AniList ID. No explicit ordering is requested — don't assume results are grouped by role or sorted by popularity (unlike get_character/get_staff's reverse-direction lookup, which IS popularity-sorted); confirmed live, a Main-role character can appear well after several Supporting ones.
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. | |
| type | Yes | Whether `id` refers to anime or manga. | |
| perPage | No | Results per page (max 25). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| characters | Yes |