tg_moderate
Moderate Telegram group members by kicking, banning, unbanning, promoting, demoting, approving, or declining join requests. For chats where you are admin.
Instructions
Moderate a group member: kick, ban, unban, promote, demote, approve, decline.
"approve" and "decline" answer a pending join request from that user.
Only for chats where the user is an admin. Confirm before using — kicking and banning are visible to the whole chat.
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>",
"user": "<user>",
"action": "<action>"
},
"name": "tg_moderate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| user | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |