Survey Publish
survey_publishPublish a survey so its participant link takes responses. Publish only when the user has asked to. Returns the stored status, surveyVersion and shareUrl (also as respondentLink): give the user shareUrl as a clickable absolute link to send to participants; editorUrl is the owner's editor. The status is read back after publishing, so no survey_get is needed to confirm it.
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": "survey_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surveyId | Yes | The survey ID to publish (from survey_list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |