Helping Organisations get organised!

MCP abilities

Get Poll

lh-polls/get-poll Read-only Idempotent

Fetch a single poll with its options and current vote counts. Requires install_plugins.

Parameter Type Required Default Description
poll_id integer Yes The post ID of the poll.

Get Votes

lh-polls/get-votes Read-only Idempotent

Fetch votes for a poll, optionally filtered by option. Returns voter details, comment text, and timestamp. Useful for summarising results once a poll has closed. Requires install_plugins.

Parameter Type Required Default Description
poll_id integer Yes The post ID of the poll.
option_id integer No Optional. Filter to a specific option ID, which must belong to the poll.

List Polls

lh-polls/list-polls Read-only Idempotent

List all polls on the current site with their status, option count, and total vote count. Requires install_plugins.

Parameter Type Required Default Description
status string No Filter by post status. Defaults to any. One of: publish, draft, private, any.

If you like this plugin please consider making a donation to further development