Reorder answer options
reorder_answer_optionsSet the display order of a question's answers by listing their codes in order.
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": {
"survey_id": "<survey_id>",
"qid": "<qid>",
"codes": "<codes>"
},
"name": "reorder_answer_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qid | Yes | Question id (qid from list_questions). | |
| codes | Yes | Codes in the desired order. | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). |