tg_admin_log
Retrieve admin action logs for a Telegram group or channel, detailing who deleted, banned, promoted, or renamed content and when. Needs admin rights in the chat.
Instructions
Admin log of a group or channel: who deleted, banned, promoted, renamed and when. Needs admin rights in that chat.
Args: chat: group or channel. limit: how many events. query: filter by text. admins: only actions by these people.
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_admin_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| query | No | ||
| admins | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |