add_multiple_choice_question
Add multiple choice questions to Qualtrics surveys by specifying survey, block, question text, and choices. Automatically maps to the correct question type, with options for multiple answers, recode values, and forced response.
Instructions
Simplified helper to create a multiple choice question. Automatically maps to the correct Qualtrics QuestionType/Selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | The block ID to add the question to | |
| choices | Yes | Array of choice labels (e.g., ['Yes', 'No', 'Maybe']) | |
| surveyId | Yes | The Qualtrics survey ID | |
| questionText | Yes | The question text | |
| recodeValues | No | Numeric recode mapping keyed by choice ID | |
| allowMultiple | No | Allow selecting multiple choices (default: false) | |
| dataExportTag | No | Meaningful export tag; derived uniquely from questionText if omitted | |
| forceResponse | No | Require a response (default: false) |