count_unread
Count unread messages in a specified folder, with optional filtering by account and by recency (last N days).
Instructions
Count unread messages in a folder (optionally within the last N days).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "count_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| folder | No | INBOX | |
| since_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||