mark_channel_viewed
Mark a channel as read to clear unread counters and update the last viewed timestamp. Use after reading messages or to reset the read state for unread-only queries.
Instructions
Mark a channel as read for the authenticated user.
Clears unread counters and advances last_viewed_at. Use when the user
asks to clear unreads, when a bot has processed
get_channel_messages(unread_only=True) and needs to advance read state
for the next poll, or as a one-shot bootstrap on a channel with
last_viewed_at == 0 so unread_only queries return posts.
Do NOT call on accounts shared with humans — it clears their UI badge.
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": {
"channel_id": "<channel_id>"
},
"name": "mark_channel_viewed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | 26-character channel identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') |