read_direct_chat
Mark AccountHub chat messages you have shown the user as read — a one-to-one chat (only your incoming direct-message notices; shared project notices, likes and other notices are unchanged) or a group chat (a shared project: your read position moves up to the newest of these messages, never back). Pass the chat_id and the item_ids from read_chat / list_unread_chats. To read messages use read_chat; this only marks them read.
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_id": "<chat_id>",
"item_ids": "<item_ids>"
},
"name": "read_direct_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| item_ids | Yes |