reorder_questions
Reorder the top-level questions in a BlockSurvey team draft. Give the COMPLETE new order as a list of question ids — call get_survey_details first to see the current ids and order. To swap two questions (e.g. move the 5th question to where the 9th is, and vice versa), take the current id list, swap those two entries, and pass the whole list back; for a bulk reorder, pass the whole list in its new order. This only changes order — it never adds or removes questions (use add_question / delete_question for that) — and it only reaches top-level questions, not ones nested inside a question group or A/B test. If the new order would flip a skip-logic condition, a piped/recalled reference, a loop reference, or the randomization range so that it now points at a question moved to the wrong side, the call is refused unless force is set — tell the user about that instead of blindly forcing it through.
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>",
"orderedQuestionIds": "<orderedQuestionIds>"
},
"name": "reorder_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Reorder even if it would flip a reference that depends on question order (skip logic, piped/recalled text, loop references, randomization range). That reference is left pointing the wrong way, not fixed up. Only set this after explicitly telling the user about it and confirming they still want to proceed. | |
| 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. | |
| surveyId | Yes | The Survey ID to reorder | |
| orderedQuestionIds | Yes | The complete new order of the survey's top-level question ids — must be a permutation of the ids get_survey_details currently returns for this survey (same set, same length, just reordered). |