get_unread_count
Counts your unread notifications for a badge, excluding read, snoozed, and inaccessible private-channel or DM items to display an accurate unread total.
Instructions
Return {count}, the number of unread notifications a member has, for a badge. Notifications that are read, snoozed until a later time, or from a private channel or DM the member can no longer read are not counted. List the notifications with list_notifications and clear them with mark_all_notifications_read. member_id must be your own. Requires workspace: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": {
"member_id": "<member_id>"
},
"name": "get_unread_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | UUID of the member. Must be your own member id (whoami returns it); any other member is refused. |