questionBank_getItems
Lists the items (draft content) of a question bank, optionally filtered by search term, blockType, category or difficultyRange - the same filters the Creator's question bank grid offers. Also reads a built-in template from questionBank_templateList, which is how to preview a template's actual questions before deciding to duplicate it - pass page/pageSize there, a template can hold tens of thousands of items and is returned in full otherwise. Deliberately unlike questionBank_list: omitting page/pageSize here returns everything rather than defaulting to a page, since a bank you filled yourself is often small enough that "everything" is the right answer - an invalid page/pageSize (zero, negative, non-numeric, fractional, or a pageSize over 100) is rejected outright rather than silently clamped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. Omit (with pageSize also omitted) to return every matching item at once - not what you want on a big bank or a template, which hold thousands of items; unlike questionBank_list, this tool never paginates on its own. Zero, negative, non-numeric or fractional is rejected, not rounded. | |
| search | No | Search term to filter items by their column values (e.g. the question title or a choice). | |
| category | No | Filter items to only this category. | |
| pageSize | No | Items per page, only used together with page - given alone it is taken as page 1, not ignored (default: 50, max: 100). Same validation as page; over 100 is rejected, not clamped. | |
| blockType | No | Filter items to only this block type (e.g. "SingleChoice"). | |
| questionBankId | Yes | The ID of the question bank to list items of - an own bank, or a built-in template from questionBank_templateList to preview its questions. | |
| difficultyRange | No | Filter items to a difficulty range, as [min, max] (e.g. [1, 5]). Omit for no difficulty filter. |