triage_digest
Summarize inbox state by sender, label, age, unread and attachment counts, and header signals to guide bulk archive, snooze, or label decisions instead of listing raw threads.
Instructions
Structured overview of a mailbox slice for triage DECISIONS — sender / label / age buckets, unread and attachment counts, and header-derived signals (newsletter / automated / calendar / replyToMismatch / displayNameSpoof / lookalikeDomain — thread counts overall, and per sender the set of signals its threads carry), instead of a raw thread list. USE WHEN: deciding what to bulk-archive/snooze/label, or summarizing inbox state ('what's in my inbox?'). DO NOT USE: to read a specific thread (use search/get_thread). Samples up to max most-recent matches; hasMore flags that more matched than were sampled. byAge buckets by each thread's FIRST message date (thread age, not last activity). SIDE EFFECTS: none.
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": "triage_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| topN | No | ||
| query | No | in:inbox |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| byAge | Yes | ||
| query | Yes | ||
| unread | Yes | ||
| hasMore | Yes | ||
| sampled | Yes | ||
| signals | Yes | ||
| topLabels | Yes | ||
| topSenders | Yes | ||
| withAttachments | Yes |