# Hermoso: manage_x_chat: Manage an X Chat · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/manage_x_chat/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / manage_x_chat

# `manage_x_chat`

Manage an X Chat conversation destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`action` required `"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

`id` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_x_chats](https://hermoso.ai/docs/reference/publish/list_x_chats/) List X Chat conversations
- [list_x_dms](https://hermoso.ai/docs/reference/publish/list_x_dms/) Read your X direct messages
- [x_user](https://hermoso.ai/docs/reference/publish/x_user/) Look up any public X account
- [update_x_chat_settings](https://hermoso.ai/docs/reference/publish/update_x_chat_settings/) Change the X Chat privacy settings
- [x_account](https://hermoso.ai/docs/reference/publish/x_account/) Read the connected X account
- [x_chat_settings](https://hermoso.ai/docs/reference/publish/x_chat_settings/) Read the X Chat privacy settings
- [edit_telegram_message](https://hermoso.ai/docs/reference/publish/edit_telegram_message/) Edit a Telegram post
- [moderate_x_broadcast](https://hermoso.ai/docs/reference/publish/moderate_x_broadcast/) Moderate an X broadcast chat
- [pin_telegram_message](https://hermoso.ai/docs/reference/publish/pin_telegram_message/) Pin or unpin a Telegram message
- [send_x_broadcast_chat](https://hermoso.ai/docs/reference/publish/send_x_broadcast_chat/) Send a message to an X broadcast chat

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
