Open Trivia DB — List Categories
opentdb.trivia.categoriesLists all 24 Open Trivia Database categories with numeric IDs so you can choose a category and pass its ID to the trivia questions tool.
Instructions
List all 24 trivia categories available in the Open Trivia Database with their numeric IDs. Categories include General Knowledge (9), Entertainment: Books (10), Film (11), Music (12), Musicals & Theatres (13), Television (14), Video Games (15), Board Games (16), Science & Nature (17), Computers (18), Mathematics (19), Mythology (20), Sports (21), Geography (22), History (23), Politics (24), Art (25), Celebrities (26), Animals (27), Vehicles (28), Comics (29), Gadgets (30), Japanese Anime & Manga (31), Cartoon & Animations (32). Use returned IDs as the 'category' parameter in opentdb.trivia.questions. Source: opentdb.com — CC BY-SA 4.0, free unlimited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _placeholder | No | No parameters required — returns all 24 trivia categories with their numeric IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |