tg_chat_edit
Modify a Telegram group or channel's title, description, photo, slow mode, member permissions, and forum mode in a single action.
Instructions
Change a group's or channel's title, description, photo, slow mode, the default rights of its members, or turn topics (forum mode) on and off.
Args: chat: the group or channel. title: new name. about: new description. photo: local image file to use as the avatar. slowmode: seconds between messages per member, 0 turns it off (supergroups only). permissions: what members may do by default, e.g. {"send_messages": true, "send_media": false, "invite_users": false}. Keys: send_messages, send_media, send_stickers, send_gifs, send_polls, embed_links, change_info, invite_users, pin_messages, manage_topics. forum: true turns the supergroup into a forum with topics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat": "<chat>"
},
"name": "tg_chat_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| about | No | ||
| forum | No | ||
| photo | No | ||
| title | No | ||
| slowmode | No | ||
| permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |