create_poll
Create a poll draft, add questions and answers, then publish with custom timing and privacy options.
Instructions
Creates a new poll (initially as draft). Add questions/answers, then publish.
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": {
"company_id": "<company_id>",
"name": "<name>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "create_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Poll name | |
| end_time | Yes | End time as Unix timestamp (seconds) | |
| company_id | Yes | Company ID | |
| start_time | Yes | Start time as Unix timestamp (seconds) | |
| description | No | Poll description | |
| privacy_type | No | Privacy type (default: open) |