create_survey
Create a new BlockSurvey survey with a title, a complete list of questions, a welcome screen, and a thank-you screen, all in one call. You (the assistant) write ALL of this content yourself from the conversation with the end user — this tool does not generate anything itself, it just persists exactly what you send. Ask the end user what the survey should cover, and for any choice-style or matrix question, ask for the actual answer choices — never invent placeholder questions or options. For any 'customerexperience' question, ask which metric they want — NPS, CSAT, or CES — if they haven't said (don't default to NPS silently), then ask the matching follow-up: NPS's scale color theme (npsTheme — Solid / Gradient / 2 Color Bleed, default Solid) or, for CSAT/CES, whether it should show as a 1-5 Opinion Scale or a Choose Single with text labels (componentType) — that's visible to respondents, not a technical detail. Skip asking only if the user already stated a preference or says the default is fine. Always also compose welcomeScreen and thankyouScreen content tailored to that same topic (see their field descriptions) — include both by default, the same way you'd never leave the questions blank; only skip one if the end user explicitly says they don't want it. Use add_answer_choice / edit_answer_choice / delete_answer_choice / update_question / update_welcome_screen / update_thankyou_screen for any later edits.
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": {
"title": "<title>",
"questions": "<questions>"
},
"name": "create_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The survey's title | |
| teamId | No | Team workspace to create the survey in. Optional if you belong to only one team; if you belong to several, pass the id of the team to use. Must be a team you are a member of. | |
| questions | Yes | The survey's questions, in order. At least one question is required. | |
| welcomeScreen | No | The welcome (cover) screen shown before question 1. Always include this with real, survey-specific title/description text you compose yourself from the conversation - don't leave it out by default, and don't ask the end user to write it unless they'd rather customize it themselves. Only omit entirely if the end user explicitly says they don't want a welcome screen (the survey then starts directly on question 1). | |
| thankyouScreen | No | The thank-you screen shown after submitting (every survey gets one either way, but with generic boilerplate text if you skip this). Always include real, survey-specific title/description text you compose yourself from the conversation - don't leave it out by default, and don't ask the end user to write it unless they'd rather customize it themselves. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| surveyId | Yes | ||
| totalQuestions | Yes |