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. A survey with a voice interview also returns voiceInterviewCost: the estimated credits and dollars for one response at the interview's full length and the owner's rate, who pays (paidBy), and, when the connected account owns the survey and pays for it, its balance, about how many responses that covers (within any AI budget cap) and buyCreditsUrl. Tell the user these numbers as estimates; they are not a promise that that many people will finish.
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 |