stats
Provides cache health metrics, token savings, and runtime diagnostics to measure and debug caching performance.
Instructions
Report cache health, token savings, and runtime diagnostics.
Returns storage occupancy (files, tokens, documents, DB size), session and lifetime token savings and cache hit rates, per-tool call counts, and process memory. Use it to measure or debug — not as a routine step in read/edit loops. Takes no arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| session | No | ||
| storage | No | ||
| lifetime | No | ||
| truncated | No | ||
| process_rss_mb | No |