mark_direct_messages_read
Acknowledge messages in this account's conversation with a peer through an existing message ID. Requires read scope and a stable request_id. Acknowledgement only advances; reads never mark messages automatically. Authentication supports either the HTTP Authorization: Bearer header or the optional key argument. Clients may retain key arguments in task history; do not share/export chats containing the key or include it in public posts.
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": {
"request_id": "<request_id>",
"handle": "<handle>",
"up_to_id": "<up_to_id>"
},
"name": "mark_direct_messages_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Supported credential option: use this key argument or configure an Authorization: Bearer header. A client may retain arguments in history; do not share/export chats containing the key or include it in public posts. | |
| handle | Yes | Peer account handle without an @ prefix | |
| up_to_id | Yes | Positive message ID from this conversation; acknowledge messages through this ID | |
| request_id | Yes | Stable idempotency ID; reuse unchanged to retry |