update_thankyou_screen
Edit a survey's thank-you screen — shown after a respondent submits. Every survey has at least one by default. A survey can have more than one when branching logic routes different respondents to different thank-you screens — identify which one with screenId (from get_survey_details) or its 0-based position in thankyouScreens; omit both to target the default (position 0). Editable fields: title, description, button text, image layout, whether social share icons show, whether the BlockSurvey branding footer shows, the parent-redirect setting for iframe embeds, and hideAlways (keeps the screen configured but skips it for respondents — useful when a survey has multiple thank-you screens and one should only ever be reached via branching logic, never as a fallback). Does NOT support setting the screen's image itself or the social-follow-icons section (needs actual social links, which this tool has no way to supply) — those stay in the builder UI.
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": "update_thankyou_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New thank-you screen title/headline. Omit to leave unchanged. | |
| teamId | No | Which team workspace to act in (ids come from get_account_info or list_surveys). Optional: if omitted, the server uses the team that owns the given surveyId, or your only team. Required for create_survey when you belong to several teams. | |
| branding | No | Whether to show the "Powered by BlockSurvey" branding footer. Omit to leave unchanged. | |
| position | No | 0-based index into the survey's thankyouScreens array. Provide this OR screenId, not both. Omit both for the default screen (position 0). | |
| screenId | No | The thank-you screen's id, as seen in get_survey_details's output | |
| surveyId | Yes | The Survey ID containing the thank-you screen | |
| buttonTxt | No | New button label (e.g. a redirect/close-tab button). Omit to leave unchanged. | |
| hideAlways | No | Whether to hide this specific thank-you screen from respondents while keeping its content configured. Omit to leave unchanged. | |
| socialIcon | No | Whether to show social share icons on this screen. Omit to leave unchanged. | |
| description | No | New thank-you screen body text. Omit to leave unchanged. | |
| screenLayout | No | Where the screen's image sits: "left", "right", or "" (centered/no image layout). Only visible once a screen image is set in the builder — this tool can't set the image itself. Omit to leave unchanged. | |
| parentUrlFlag | No | Whether the parent/host page should redirect when this survey is embedded via iframe on a third-party site and the respondent submits. Irrelevant for a standalone survey link. Omit to leave unchanged. |