Answer a poll
answer_pollSays what the user (or a guest they look after) picks in a poll, and would sit out, replacing what they said before. Option ids from get_polls.
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": {
"picks": "<picks>",
"tripId": "<tripId>",
"pollId": "<pollId>"
},
"name": "answer_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Option ids they would sit out, if it wins | |
| picks | Yes | Option ids picked: one, unless the poll takes several | |
| person | No | Whom you answer for: you, or a guest you look after; you, if not given | |
| pollId | Yes | A poll’s id, from get_polls | |
| tripId | Yes | The trip’s id, from list_trips |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll | Yes |