Question Delete
question_deleteDelete a question, and display logic that depends on its answers. It works on published surveys too, where the question disappears for participants at once: confirm with the user before deleting from a survey that is collecting responses. A restore point is saved first (survey_version_restore, where this connection has it, can bring the question back). Needs surveyVersion = versions.current from survey_get; the result returns the next one.
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": {
"surveyItemId": "<surveyItemId>",
"surveyVersion": "<surveyVersion>"
},
"name": "question_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surveyItemId | Yes | Question ID (survey_items[].id from survey_get) | |
| surveyVersion | Yes | Current survey version: versions.current from survey_get, or the surveyVersion your last edit returned. A stale version is rejected (WRONG_VERSION). The result returns the next one as surveyVersion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |