Home / Servers / X (Twitter) API / update_broadcast_state

End a Broadcast

An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.

End a Broadcast Ends one of the authenticated user's broadcasts. Only state: END is supported. [PUT /2/broadcasts/{id}/state]

Name on the gateway: x_api__update_broadcast_state · may change things.

Parameters

NameTypeDescription
id requiredstringid parameter
chat_optionintegerNot allowed with END.
localestringNot allowed with END.
should_not_tweetbooleanNot allowed with END.
state requiredstringEND. PUBLISH is not supported.
titlestringNot allowed with END.

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": "x_api__update_broadcast_state",
  "arguments": {
    "id": "…",
    "state": "…"
  }
}

Or connect the X (Twitter) API server directly, which lists 258 tools including this one:

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

Try asking

Use the end a broadcast tool with id set to ….

More from X (Twitter) API