get_survey_link
Get the edit (builder) link for a survey, plus its public share link if it's already published. Call this whenever the user asks for the edit link, builder link, or 'the link to my survey' for a survey that already exists (found via list_surveys, or an id you already have from create_survey/publish_survey) — don't reconstruct the URL yourself. If the survey has never been published, only the edit link is returned; publishing state doesn't affect the edit link itself, since edits made after publishing go live immediately at the same share link (there is no separate re-publish step).
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_survey_link"
}
}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. | |
| surveyId | Yes | The Survey ID returned by create_survey or list_surveys |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editUrl | Yes | The builder/edit link, always present | |
| shareUrl | No | The public share link — only present if isPublished is true | |
| isPublished | Yes |