hey_cache_status
Check local cache statistics—message counts, cache age, and storage estimate—before deciding whether to force-refresh other list tools. Scope counts to one cached view via folder.
Instructions
Get local cache statistics: message counts, cache age, and storage estimate. Read-only with no side effects. Pass folder to scope message/unread counts to one cached view. Use before deciding whether to pass force_refresh on other list tools.
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": "hey_cache_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Optional: scope stats to one cached view (imbox, feed, paper_trail, set_aside, reply_later). Note this differs from hey_list_emails' folder enum — trash, spam, and drafts aren't cache-tracked and silently return 0 here. |