get_thankyou_screen_logic
Read a thank-you screen's Display Logic — the builder's own label for it (the "Add Display Logic" button in the thank-you screen's Logic tab), even though under the hood it's the same survey.logics map and add/clone/delete-logic machinery as question-level Jump Logic, just keyed by the screen's id instead of a question's. This is the real SCREEN-SELECTION mechanism when a survey has multiple thank-you screens: goToThankyouSection walks them in order and shows the first one whose entry conditions evaluate true, or the first screen with no logic entries at all (an unconditional catch-all). Identify the screen with screenId (from get_survey_details) or its 0-based position in thankyouScreens[]; omit both to read position 0, the default screen every survey has. Read-only. A screen can have MANY entries (no one-entry limit like question/submit Display Logic). Each entry can also carry an "Assign to text variable" — a real, functional side-effect (unlike skipTo, which technically exists on the underlying object but is never read for a screen and isn't exposed here at all). When describing this to the end user, describe conditions in plain English — never quote raw field names like qid/conidition/entryIndex verbatim. Before stating whether a screen currently HAS logic, or what it contains, call this tool fresh and read its result — never assert this from memory of an earlier call in this conversation, including your own earlier edits; the survey may have changed since then, including edits you made yourself.
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": "get_thankyou_screen_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| position | No | 0-based index into thankyouScreens[]. Provide this OR screenId. Omit both for 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 |