Get genres
get_genresRetrieve official movie or TV genre IDs for use in TMDB discover filters. Specify media type and optional language to get the correct genre list for your query.
Instructions
The official genre list with IDs for movies or TV, for use with discover filters.
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": {
"media_type": "<media_type>"
},
"name": "get_genres"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Response language as ISO 639-1 with optional ISO 3166-1 region, e.g. en-US or fr-FR. Defaults to TMDB_LANGUAGE. | |
| media_type | Yes |