Update survey
survey_updateEdits a survey, or opens or closes it with status. Opening makes the survey page public and lets campaigns that ask its questions be test-sent and scheduled; closing stops new answers. Questions you pass replace the whole list; keep each existing question id so earlier answers stay matched. Fields you leave out stay as they are. Sends nothing. Requires API key scope: draft.
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>"
},
"name": "survey_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| intro | No | ||
| title | No | ||
| status | No | "open" to start taking answers, "closed" to stop, "draft" to take it offline. | |
| questions | No | ||
| survey_id | Yes | Survey id (a UUID), as returned by survey_create or surveys_list. | |
| thank_you_message | No |