Get a random anime
get_random_animeDiscover a random anime for suggestions, with optional safe-for-work filtering and a MAL ID for fetching full details such as relations, streaming, themes, and external data.
Instructions
Return one random anime (core details: no relations/streaming/opening_themes/ending_themes/external — call get_anime with the returned mal_id for those). Good for discovery / suggestions. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.
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_random_anime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sfw | No | If true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanservice) through — use `sfw_strict` to also exclude those. | |
| sfw_strict | No | If true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| rank | No | ||
| type | No | ||
| year | No | ||
| aired | No | ||
| score | No | ||
| title | No | ||
| airing | No | ||
| genres | No | ||
| mal_id | Yes | ||
| rating | No | ||
| season | No | ||
| source | No | ||
| status | No | ||
| themes | No | ||
| members | No | ||
| studios | No | ||
| trailer | No | ||
| duration | No | ||
| episodes | No | ||
| external | No | ||
| moreinfo | No | ||
| synopsis | No | ||
| broadcast | No | ||
| favorites | No | ||
| image_url | No | ||
| licensors | No | ||
| producers | No | ||
| relations | No | ||
| scored_by | No | ||
| streaming | No | ||
| background | No | ||
| popularity | No | ||
| demographics | No | ||
| ending_themes | No | ||
| title_english | No | ||
| opening_themes | No | ||
| title_japanese | No | ||
| title_synonyms | No | ||
| explicit_genres | No |