manage_x_chat
Manage an X Chat conversation destructive
Description
Manage one of the connected X account's X Chat conversations (id from list_x_chats). For the brand only: 'mute' / 'unmute'; 'delete' removes it from the brand's inbox for good while the others keep theirs (confirm:true). For everyone in it: 'set_disappearing' (disappearAfter like '24h' or '7d'), 'clear_disappearing', 'screen_capture' (blockScreenshots OR notifyOnScreenshot, one per call). GROUPS (id starts with g; the brand must be an admin): 'admin_settings' (adminOnly {addMember, editGroupInfo, sendMessage, startCall, editMessageTtl, blockScreenCapture}; sendMessage:true makes it announcement-only), 'add_admins' / 'remove_admins' (userIds), 'remove_members' (userIds, confirm:true), 'leave' (confirm:true), 'approve_admin_request' / 'reject_admin_request' (userId), 'reject_join_requests' (userIds; APPROVING a join re-keys the encrypted group, so it is done in the X app), 'enable_invite' (optional title, avatarUrl, welcomeMessage, expiresAt; X stores that preview UNENCRYPTED and shows it to anyone with the link), 'disable_invite' (the shared link dies for good: confirm:true). INBOX, for the brand only: 'archive' / 'unarchive', 'mark_read' (may send the other person a read receipt). MESSAGE REQUESTS: 'accept_request' (id = the sender's numeric id, or the request's conversationId from list_x_chats view message_requests) moves the conversation into the inbox; show the user who sent it first (list_x_dms with participantId reads the message only if it was not sent encrypted). Confirm the exact conversation with the user before passing confirm:true; a refusal is free. The answer is X's own yes or no, never an echo. Needs X connected with direct-message access: an X connection made before 2026-08-25 must be reconnected once under Connectors > X (the tool says so without calling X). Costs credits (X bills per call).
Parameters
| Parameter | Type | Description |
|---|---|---|
actionrequired | "mute" | "unmute" | "delete" | "set_disappearing" | "clear_disappearing" | "screen_capture" | "admin_settings" | "add_admins" | "remove_admins" | "remove_members" | "leave" | "approve_admin_request" | "reject_admin_request" | "reject_join_requests" | "enable_invite" | "disable_invite" | "accept_request" | "archive" | "unarchive" | "mark_read" | conversation action; the tool description lists each one and what it needs |
idrequired | string | conversation id from list_x_chats: g + digits for a group, or the other person's numeric id for a 1:1 (accept_request: the sender's numeric id) |
userIds | string[] | NUMERIC X account ids (add_admins, remove_admins, remove_members, reject_join_requests) |
userId | string | NUMERIC X account id (approve_admin_request, reject_admin_request) |
disappearAfter | string | set_disappearing: '24h', '7d', '90m' or a number of seconds |
blockScreenshots | boolean | screen_capture: true = block screenshots of the chat |
notifyOnScreenshot | boolean | screen_capture: true = notify everyone when someone takes a screenshot |
adminOnly | object | admin_settings: true = only admins may |
adminOnly.addMember | boolean | admin_settings: true = only admins may add members |
adminOnly.editGroupInfo | boolean | admin_settings: true = only admins may edit group info |
adminOnly.sendMessage | boolean | admin_settings: true = only admins may send messages (announcement mode) |
adminOnly.startCall | boolean | admin_settings: true = only admins may start calls |
adminOnly.editMessageTtl | boolean | admin_settings: true = only admins may change the disappearing-message timer |
adminOnly.blockScreenCapture | boolean | admin_settings: true = only admins may control screen capture |
title | string | enable_invite: the group name shown on the link preview (stored unencrypted) |
avatarUrl | string | enable_invite: https image for the preview |
welcomeMessage | string | enable_invite: welcome text on the invite preview; stored unencrypted |
expiresAt | string | enable_invite: ISO 8601 or epoch ms; omit for a link that does not expire |
confirm | boolean | true only after the user approved this exact delete / leave / removal / link shutdown |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_x_chat.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_x_chat","arguments":{"action":"<one of the listed values>","id":"<string>"}}}
CLI
hermoso call manage_x_chat --json '{"action":"<one of the listed values>","id":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_x_chatsList X Chat conversationslist_x_dmsRead your X direct messagesx_userLook up any public X accountupdate_x_chat_settingsChange the X Chat privacy settingsx_accountRead the connected X accountx_chat_settingsRead the X Chat privacy settingsedit_telegram_messageEdit a Telegram postmoderate_x_broadcastModerate an X broadcast chatpin_telegram_messagePin or unpin a Telegram messagesend_x_broadcast_chatSend a message to an X broadcast chat