Close a poll to votes
close_pollStop the voting on a WhichDateWorks poll the user organizes, for example once everyone has answered. Pass the poll's manageUrl from create_poll. Returns the leading option so you can tell the user. Picking the final date and notifying everyone happens on the website: the organizer opens manageUrl and signs in.
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": {
"manageUrl": "<manageUrl>"
},
"name": "close_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manageUrl | Yes | The poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| pollId | Yes | ||
| status | Yes | ||
| leading | Yes | The option or options with the most votes, if any. | |
| nextSteps | Yes | ||
| participantCount | Yes |