create_survey
Create a survey with custom question blocks. Publish it later or set status to published for immediate portal access.
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": {
"title": "<title>",
"questionBlocks": "<questionBlocks>"
},
"name": "create_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional URL slug; generated from title when omitted | |
| title | Yes | Survey title | |
| openAt | No | Optional ISO datetime when the survey opens | |
| status | No | Initial status | |
| closeAt | No | Optional ISO datetime when the survey closes | |
| settings | No | Survey settings such as allowMultipleResponses, collectEmail, collectIpAddress, requireAuthentication, showProgress, successMessage | |
| visibility | No | Who can access the survey | |
| description | No | Optional survey description | |
| questionBlocks | Yes | 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 |