Home / Servers / Cloudflare API / create_poll

Create a poll

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Create a poll Creates a new poll in an active session for the given meeting ID. [POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/poll]

Name on the gateway: cloudflare_api__create_poll · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
app_id requiredstringapp_id parameter
meeting_id requiredstringmeeting_id parameter
anonymousbooleanif voters on a poll are anonymous
hide_votesbooleanif votes on an option are visible before a…
options requiredarrayDifferent options for the question
question requiredstringQuestion of the poll

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__create_poll",
  "arguments": {
    "account_id": "…",
    "app_id": "…",
    "meeting_id": "…",
    "options": [],
    "question": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a poll tool with account_id set to ….

More from Cloudflare API