reorder_questions
Reorder questions on a form by providing the form ID and a list of question IDs in the desired order. Returns the updated order for each question.
Instructions
Reorder the questions on a form. Must list every question id exactly once.
Args: form_id: Numeric form id. new_order: Array of question ids in the desired order.
Returns: JSON with the updated order for each question id.
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": {
"form_id": "<form_id>",
"new_order": "<new_order>"
},
"name": "reorder_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| new_order | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |