Update the account triage profile (cadence, junk rules, VIPs, quiet hours)
update_triage_profileSaves the person's triage preferences so every connected agent reads the same rules.
Use defaults.agentRules (a string, up to 2000 characters) for what the person's agents may do on their own, in their words, e.g. archive newsletters older than a week, never trash. Save it only when the person says so. Use notes (defaults or per inbox, up to 2000 characters; longer notes are cut on save) for standing instructions; the whole stored profile is capped at 64 KB and a patch that would exceed it is refused without changing anything.
Deep-merges patch onto the stored triageProfile and persists it, so every connected agent reads the same prefs afterward. patch.defaults merges onto account defaults (e.g. { vip: { people: [...], domains: [...] } }, { cadence: {...} }, { quietHours: {...} }); VIP addresses/domains are normalized (lowercased, trimmed, deduped) automatically. patch.byInboxId.<inboxId> merges onto (or, when the whole value is null, removes) that inbox's sparse override (same shape as defaults, partial). setupCompletedAt / setupVersion mark first-setup done. Also accepts defaults.staleDraftDays (0-30, default 3, 0 is off) for reminders about unsent drafts. Also accepts defaults.attentionDays (0-90, default 7, 0 is off): unread mail older than this many days no longer counts as needing attention, except VIP mail and mail from a person. Also accepts defaults.cleanup.auto (default false): when true, run_cleanup archives duplicate notifications and old calendar replies instead of only listing them. And defaults.cleanup.newsletterDays (0-90, default 14, 0 is off): unread newsletters older than this many days are archived by run_cleanup. Call this whenever the human tells you their triage prefs (cadence, what counts as junk, who is VIP, quiet hours) rather than guessing. VIP people/domains (triageProfile.defaults.vip, or an inbox's override) are never-auto: ask the human first or leave the message alone. Never archive, label as junk, or propose_unsubscribe a VIP's mail without the human approving that specific action in chat. A VIP domain counts only for mail addressed to you, not mail you were BCC'd on or list mail.
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": {
"patch": "<patch>"
},
"name": "update_triage_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Patch to deep-merge onto the stored triageProfile. Only include the fields you want to change. |