hivelearn_create_question_bank_item
Add a question to a bank. Supports all 6 types; supply the answer field for the type: options (multiple_choice / multi_select), correct_answer (true_false), accepted_answers (fill_in_blank), pairs (matching), items (ordering).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ordering only; correct order is position 1..n, or array order if positions are omitted | |
| pairs | No | matching only; at least 2 pairs | |
| points | No | Defaults to 1 | |
| bank_id | Yes | ||
| options | No | multiple_choice (exactly one is_correct:true) or multi_select (one or more). 2-12 entries. | |
| explanation | No | ||
| question_text | Yes | ||
| question_type | Yes | ||
| correct_answer | No | true_false only | |
| accepted_answers | No | fill_in_blank only; matched case-insensitively |