question_bank_get_items
Lists the items of a question bank - its DRAFT content by default, or its published items with published: true. Filter by search term, blockType, category or difficultyRange - the same filters a QuestionBank block draws with. A template id from question_bank_list(scope: "templates") reads too - that is how to preview its questions before duplicating it. Paginated {items, page, pageSize, total, hasMore}. The item shape, the "columns" format, the pagination it runs with and what the response leaves out: riddle://reference/concepts/question-bank-items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 (default: 1). | |
| search | No | Filter items by their column values (e.g. a question title or a choice). | |
| category | No | Filter to one category. | |
| pageSize | No | Items per page (default: 250, max: 500). | |
| blockType | No | Filter to one block type (e.g. "SingleChoice"). | |
| published | No | Read the bank's PUBLISHED items instead of its draft (default false) - a different set of items, and the pool a live Riddle's QuestionBank block actually draws from. Counting what one block criterion can draw is then a single call: its blockType/category/difficultyRange plus pageSize: 1, then read "total" - what that number does and does not include is in riddle://reference/concepts/question-bank-items. | |
| questionBankId | Yes | The bank to list items of - your own, or a template id from question_bank_list(scope: "templates"). | |
| difficultyRange | No | Filter to a difficulty range, as [min, max] (e.g. [1, 5]). |