tg_topics
List forum topics from a Telegram supergroup, showing ID, title, unread count, and closed/pinned status.
Instructions
Forum topics of a supergroup: id, title, unread count, closed/pinned state.
Read one topic with tg_history(chat, topic=).
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_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |