Mark chat read
mark_chat_readSay you have read a chat up to a message — the newest when upTo is omitted — as opening it on the screen does: its unread count goes down on every screen you have open, and the push and letter waiting about it are not sent. Never moves backwards.
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": {
"chatId": "<chatId>"
},
"name": "mark_chat_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upTo | No | The last message read. Default: the newest. | |
| chatId | Yes | The chat's id. |