Set Chat Read State
set_chat_read_stateSet a chat as read or unread for the current user. Provide the chat ID and isRead flag; optionally include a last-read timestamp to control which messages become unread.
Instructions
Mark a chat read or unread for the current user.
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>",
"isRead": "<isRead>"
},
"name": "set_chat_read_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID | |
| isRead | Yes | True: read. False: unread. | |
| tenantId | No | Target tenant ID from list_tenants. Omit only when a default is configured or exactly one tenant is connected. Resource IDs belong to this tenant. | |
| lastMessageReadDateTime | No | Unread only: messages after this time become unread. Omit to mark the latest message unread. |