delete_responses
Permanently delete survey responses with confirm: true: the ones listed (scope selected), only recruitment test-link responses (scope test_link), or every response (scope all). Cannot be undone.
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": {
"survey_id": "<survey_id>",
"scope": "<scope>",
"confirm": "<confirm>"
},
"name": "delete_responses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Which responses to delete: selected (the ids in response_ids), test_link (only responses made through a recruitment provider's test link, labeled as tests), or all (every response in the survey). There is no default, so all is never implied. | |
| confirm | Yes | Must be true. Deletion is permanent and cannot be undone from survey trash. | |
| survey_id | Yes | Survey UUID | |
| response_ids | No | Required with scope selected: the response ids to delete (from read_responses). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |