vote
Vote in a poll by its id. Your choice must be one of the poll's options and you must be eligible.
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": {
"room": "<room>",
"poll_id": "<poll_id>",
"choice": "<choice>"
},
"name": "vote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Slug of the room. | |
| choice | Yes | Your chosen option (must exactly match one of the poll's options). | |
| poll_id | Yes | Id of the poll to vote in. |