Zovo Group Vote

v1.0.0
io.github.theluckystrike/group-vote Checked 4 days ago Published 28 days ago

Plan a group decision with a voting page you make in one message.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_group_vote Create group vote

Use this when the user wants a group to vote or pick between options: a poll, a ranked-choice vote, approval voting, choosing a date, venue, book or name. Publishes a voting page that people open from a link in any browser, and returns a public link to share and a private organizer link. Methods: single (pick one), approval (pick any), ranked (instant runoff). 2 to 20 options, up to 300 voters. Not for secret ballots, formal elections, or anything that needs identity checks or fraud protection.

ParameterTypeDescription
options *array2 to 20 options in display order, each up to 80 characters, e.g. ["Thai", "Pizza", "Sushi"].
question *stringThe question people vote on, up to 200 characters, e.g. Where should we have the team dinner?
hide_results_until_closedbooleantrue hides the totals from voters until the organizer closes the vote; default false (totals visible).
methodstringsingle = pick one (default); approval = tick every option you like; ranked = rank in order, counted by instant runoff. Example: ranked.
notestringOptional short note shown above the form, up to 300 characters, e.g. Vote by Friday 6 pm.

show_vote_results Show vote results

Use this when the user wants the current or final results of a vote made with create_group_vote. Takes the private organizer link (contains /m/). Returns the number of voters, totals per option, the leader or winner or a tie, and for ranked choice the round-by-round instant-runoff count. Does not change the vote. Does not work with the public link.

ParameterTypeDescription
manage_url *stringThe private organizer link of the vote, e.g. https://group-vote.zovo.one/m/AbC123.../XyZ789... (contains /m/).

close_group_vote Close or reopen group vote

Use this when the organizer wants to stop voting (or open it again) on a vote made with create_group_vote. Takes the private organizer link. Closing shows the final result on the public page, also when totals were hidden. Set reopen true to accept votes again. Does not delete votes.

ParameterTypeDescription
manage_url *stringThe private organizer link of the vote, e.g. https://group-vote.zovo.one/m/AbC123.../XyZ789... (contains /m/).
reopenbooleanfalse or omitted = close the vote; true = open it again. Example: false.