Poll
pollAsk people to vote: create returns url, a page to share. results returns status (open, closed, expired), total votes and each option's votes and percent; pass the last version with wait_seconds up to 30 to wait for the next vote, or no version to wait until it closes. The poll closes after closes_in seconds, at max_votes, or on close. One vote per browser and a per-address cap are soft guards, not identity.
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": {
"action": "<action>"
},
"name": "poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| action | Yes | ||
| options | No | ||
| results | No | ||
| version | No | ||
| multiple | No | ||
| question | No | ||
| closes_in | No | ||
| max_votes | No | ||
| max_choices | No | ||
| ttl_seconds | No | ||
| wait_seconds | No |