add_answer_choice
Add ONE new answer choice to a question in a BlockSurvey team draft, without touching any other choice. Prefer this over update_question's options field when you're only adding a choice — update_question replaces the whole choice list and reassigns every choice a new id, which silently breaks anything keyed to an option's id (skip logic, calculations). To add several choices, call this once per choice. For choice-style questions (multiplechoice, checkboxes, dropdown, dropdownmultiple, ranking, colorpicker — for colorpicker, value is a text prompt to pick a color for, e.g. "Preferred logo color"; the respondent picks the actual color when answering) this works on options; for matrix questions you must also say whether you mean rows or columns via target. Not applicable to consent (its choices are fixed) or any other question type without answer choices. Use get_survey_details first to get the question's and choices' current ids.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"surveyId": "<surveyId>",
"value": "<value>"
},
"name": "add_answer_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | No | Optional score for the new choice, e.g. for a Likert scale | |
| value | Yes | The new choice's text | |
| target | No | For matrix questions only: which grid axis to edit. Required if the question is a matrix type, ignored otherwise. | |
| teamId | No | Which team workspace to act in (ids come from get_account_info or list_surveys). Optional: if omitted, the server uses the team that owns the given surveyId, or your only team. Required for create_survey when you belong to several teams. | |
| position | No | 0-based index into the survey's questions array. Provide this OR questionId, not required to provide both. | |
| surveyId | Yes | The Survey ID containing the question | |
| questionId | No | The question's id, as seen in get_survey_details's output | |
| choicePosition | No | 0-based index to insert the new choice at within the choice list. Omit to append at the end. |