Home / Servers / X (Twitter) API / update_user_broadcast_state
Publish or End a User's Broadcast
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Publish or End a User's Broadcast Publishes or ends one of the authenticated user's broadcasts. id must be the authenticated user. PUBLISH takes a broadcast created with POST /2/users/:id/broadcasts live once its source is receiving… [PUT /2/users/{id}/broadcasts/{broadcast_id}/state]
Name on the gateway: x_api__update_user_broadcast_state · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | Unique identifier of a User |
broadcast_id required | string | broadcast_id parameter |
chat_option | integer | Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4… |
locale | string | Broadcast language. PUBLISH only. |
should_not_tweet | boolean | Skip the announcing Post. Unset keeps the broadcast's setting, which defaults… |
state required | string | PUBLISH or END. |
title | string | Broadcast title. PUBLISH only. |
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_user_broadcast_state",
"arguments": {
"id": "…",
"broadcast_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 publish or end a user's broadcast tool with id set to ….