editGeneralForumTopic
Rename the General topic in a forum supergroup to keep discussions organized. Requires admin rights with can_manage_topics and returns True on success.
Instructions
Edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.
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_id": "<chat_id>",
"name": "<name>"
},
"name": "editGeneralForumTopic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New topic name, 1-128 characters | |
| chat_id | Yes | Unique identifier for the target supergroup or username (in the format @supergroupusername) |