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
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
app_id required | string | app_id parameter |
meeting_id required | string | meeting_id parameter |
anonymous | boolean | if voters on a poll are anonymous |
hide_votes | boolean | if votes on an option are visible before a… |
options required | array | Different options for the question |
question required | string | Question 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:
{
"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:
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 ….