tg_mark_read
Mark or unmark a Telegram chat as read, clearing mention badges or keeping the unread state as a reminder.
Instructions
Mark a chat as read, or put the unread mark back on it.
Args: chat: chat id, @username, exact title or "me". clear_mentions: also clear the mention badge. unread: true flips it the other way — the chat shows as unread again, which is how the owner keeps a reminder to come back to it.
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_mark_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| unread | No | ||
| clear_mentions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |