Get Questions
get_questionsGet trivia questions from the Open Trivia Database. Optionally filter by category, difficulty, and question type.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": 10
},
"name": "get_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Question type. One of: multiple (multiple choice), boolean (true/false). | |
| amount | No | Number of questions to return. Defaults to 10. Max 50. | |
| category | No | Category ID to filter by. Use list_categories to get available IDs. | |
| difficulty | No | Difficulty level. One of: easy, medium, hard. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of questions returned | |
| questions | Yes | Array of trivia questions |