Create poll draft
create_poll_draftCreate a poll draft (1-100 single-choice questions, 2-10 options each). Returns id, token, version and edit_url. Give the edit_url to the person so they can review, verify and publish it in their browser; the draft expires 24 hours after creation. Never say the poll is published.
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": {
"questions": "<questions>"
},
"name": "create_poll_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional poll title, up to 200 characters after trimming. Empty means the first question is used as the title. | |
| questions | Yes | 1-100 required single-choice questions | |
| email_mode | No | One of none (default), optional or required: whether participants are asked for an email address shared with the creator. Cannot change after publishing. | |
| email_purpose | No | Required when email_mode is optional or required: a short note (up to 200 characters) telling participants why the email is collected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| token | No | ||
| content | No | ||
| version | Yes | ||
| edit_url | No | ||
| expires_at | Yes |