Home / Servers / X (Twitter) API / leave_call
Leave a Call
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Leave a Call Ends the authenticated user's media session in the call (its WebSocket receives session.ended with reason left) and removes the user from the call. [POST /2/calls/{id}/leave]
Name on the gateway: x_api__leave_call · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | 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:
{
"name": "x_api__leave_call",
"arguments": {
"id": "…"
}
}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 leave a call tool with id set to ….