Get a title's related media
get_media_relationsRetrieves anime or manga related to a given title, each labeled by relation type such as prequel, sequel, spin-off, adaptation, or source. Resolve the title to an AniList ID first.
Instructions
Get the anime/manga related to a given title, each with its relationType: PREQUEL, SEQUEL, PARENT, SIDE_STORY, SPIN_OFF, ALTERNATIVE, SUMMARY, CHARACTER, ADAPTATION (this title adapted into another format), SOURCE (the material this title was adapted from), COMPILATION, CONTAINS, SAME_UNIVERSE or OTHER. Use search_media first to resolve a title to its AniList ID.
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": {
"type": "<type>",
"id": "<id>"
},
"name": "get_media_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | AniList anime/manga ID. | |
| type | Yes | Whether `id` refers to anime or manga. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes |