delete_question
Delete a question from a BlockSurvey team draft. Identify it with questionId (from get_survey_details) or its 0-based position in the questions array (e.g. the 4th question is position 3). This is destructive — always confirm with the end user which question they mean before calling this, especially when they refer to it by number or description rather than an exact id. If the question turns out to be referenced elsewhere in the survey — skip logic (including another question's rule that skips TO it), another question's default jump-to, calculations, feedback, validation logic, discount logic, display logic, duplicate submission logic, loop references, the randomization range, piped references, or email notification — the call is refused with a message describing what was found; ask the user in plain language whether they still want to delete it, then retry with force: true once they say yes. Every category above EXCEPT piped references and email notification is fully cleaned up automatically on that retry, nothing left dangling; those two are left dangling even with force. Also reports (never blocking, just informational) if this question itself has custom regex validation rules or a Default Feedback fallback configured — both are simply discarded when the question is deleted, since neither can ever be referenced by anything else. The refusal message ends with an AGENT_NOTE aimed at you, the calling model: never quote that message or mention the force parameter to the end user — just ask a plain yes/no about deleting the question.
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>"
},
"name": "delete_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Delete even if the question appears to be referenced elsewhere in the survey (logic/calculations/etc). Only piped references and email-notification references are left dangling — every other category is always fully cleaned up regardless. Only set this after asking the end user in plain language (no tool/parameter jargon) whether they still want to proceed, and they said yes. | |
| 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. | |
| position | No | 0-based index into the survey's questions array. Provide this OR questionId, not required to provide both. | |
| surveyId | Yes | The Survey ID containing the question | |
| questionId | No | The question's id, as seen in get_survey_details's output |