update_survey
Update a survey draft or publishing configuration. Use questionBlocks to replace the ordered form block list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug | |
| title | No | Survey title | |
| openAt | No | Optional ISO datetime when the survey opens | |
| status | No | Survey status | |
| closeAt | No | Optional ISO datetime when the survey closes | |
| settings | No | Survey settings such as allowMultipleResponses, collectEmail, collectIpAddress, requireAuthentication, showProgress, successMessage | |
| surveyId | Yes | Survey ID | |
| visibility | No | Survey access mode | |
| description | No | Survey description | |
| questionBlocks | No | Ordered survey question blocks |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |