reorder_options
Reorder question options in a form by specifying form ID, question ID, and desired option order to update and retrieve the new sequence.
Instructions
Reorder the options within a question.
Args: form_id: Numeric form id. question_id: Numeric question id. new_order: Array of option ids in the desired order.
Returns: JSON with the updated order for each option 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>",
"question_id": "<question_id>",
"new_order": "<new_order>"
},
"name": "reorder_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| new_order | Yes | ||
| question_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |