Read a poll
get_pollReads a When Works For You poll from its link: the title, the organizer, every date option with how many people said yes or maybe, and whether a date is already confirmed. With a personal link (one ending ?g=…), it also returns the answers already given under that link. Use this before respond_to_poll so you can match the person's availability to the poll's exact dates. Reads only; changes nothing.
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": {
"link": "<link>"
},
"name": "get_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The poll link, e.g. https://whenworksforyou.com/e/book-club-ab12cd34, or a personal link ending ?g=… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | ||
| title | Yes | ||
| status | Yes | ||
| description | Yes | ||
| your_answers | Yes | ||
| confirmed_date | Yes | ||
| organizer_name | Yes | ||
| responded_count | Yes |