Get anime genres
get_anime_genresList anime genres, themes, and demographics with their MAL IDs so you can find the numeric values search_anime’s genres parameter expects, with optional SFW filtering.
Instructions
List anime genres/themes/demographics with their MAL IDs. Use this to discover the numeric IDs that the genres parameter of search_anime expects. sfw/sfw_strict drop the adult (and, for sfw_strict, Ecchi) genres from the list itself.
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_anime_genres"
}
}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. | |
| filter | No | Restrict to one kind of tag. Omit to list all. | |
| 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 |
|---|---|---|---|
| genres | Yes |