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
| Name | Type | Description |
|---|---|---|
id required | string | id parameter |
chat_option | integer | Not allowed with END. |
locale | string | Not allowed with END. |
should_not_tweet | boolean | Not allowed with END. |
state required | string | END. PUBLISH is not supported. |
title | string | Not 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:
{
"name": "x_api__update_broadcast_state",
"arguments": {
"id": "…",
"state": "…"
}
}Or connect the X (Twitter) API server directly, which lists 258 tools including this one:
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 ….