survey-create
Create an on-site survey as a draft with its questions. Visitors see nothing until it is published with survey-update-status.
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": {
"name": "<name>",
"questions": "<questions>"
},
"name": "survey-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Survey name (max 120 chars) | |
| display | No | How it shows: position (bottom_right, bottom_left, top_right, top_left, center, center_left, center_right, top_bar), progress (bar, counter, none), delaySeconds, showOnce, recontactDays, maxImpressionsPerContact | |
| questions | Yes | Up to 20 questions, asked in this order | |
| targeting | No | Who and where (default: everyone, on every page, right away): urlPatterns (pages to show on, * wildcards), excludeUrlPatterns, audience (all, identified, anonymous), segments (segment IDs), devices, triggers ([{ type: immediate | time_on_page | scroll_depth | exit_intent | signal, value }]) |