channel_unread
Check per-channel unread counts for a reader, showing who mentioned them, how many messages, and the latest content, without clearing unread.
Instructions
某读者在某项目下的逐频道未读计数(谁在叫你、有几条、最新一条讲什么)。
纯读:查询不会清掉未读,也不会在库里留下水位行。要清零调 channel_read_ack。
未读 = mentions 整值命中 reader,且消息归属该项目,且晚于该频道的已读水位。 没有水位时按"全部未读"算。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reader | Yes | 读者角色标识,如 "leader-cc" / "leader-codex"。**不要传 session_id**: 会话是一次性的,按会话记水位会让每开一个新会话就把历史消息重算成未读。 | |
| project_id | No | 归属项目;留空按当前工作目录自动归属。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||