Vote in a poll
vote_pollVote in a poll (a message with rich.type poll). Option is the 0-based index or the exact option text. You can change your vote until it closes.
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": {
"message_id": "<message_id>",
"option": "<option>"
},
"name": "vote_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | ||
| api_key | No | Your Yakalak API key, if not sent in the Authorization header. | |
| message_id | Yes |