triviadb_questions
Fetch trivia questions by category, difficulty, or type from Open Trivia Database to create quizzes or games.
Instructions
Get trivia questions from Open Trivia Database by category, difficulty, or type.
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": "triviadb_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Question type: multiple (4 choices) or boolean (true/false). | |
| amount | No | Number of questions (default 5, max 50). | |
| category | No | Category ID (use triviadb_categories to list them). | |
| difficulty | No | Difficulty: easy, medium, or hard. |