Home / Servers / Discord API / poll_expire

POST /channels/{channel_id}/polls/{message_id}/expire

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

POST /channels/{channel_id}/polls/{message_id}/expire [POST /channels/{channel_id}/polls/{message_id}/expire]

Name on the gateway: discord_api__poll_expire · may change things.

Parameters

NameTypeDescription
channel_id requiredstringchannel_id parameter
message_id requiredstringmessage_id parameter

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": "discord_api__poll_expire",
  "arguments": {
    "channel_id": "…",
    "message_id": "…"
  }
}

Or connect the Discord API server directly, which lists 250 tools including this one:

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

Try asking

Use the post /channels/{channel_id}/polls/{message_id}/expire tool with channel_id set to ….

More from Discord API