get_stats
Check how much knowledge is stored — fact counts, entities, domains, embedding coverage, and token usage — to verify memory health and recall gaps.
Instructions
Get knowledge base statistics — how many facts are currently true, how many are held in total including superseded history, entity and domain counts, how facts are distributed across domains, and how much raw log can be reclaimed.
Call this when the user asks what you know or remember about them, how much you have stored, or whether their memory is working. This answers "how much do you know", not "what do you know" — use search_knowledge, get_entity or get_context for actual recall.
embeddings reports semantic-search coverage per model. An empty list means this store searches by keyword only, which is the default. A count well below the current fact count means some facts are findable by wording but not by meaning — worth mentioning if the user asks why something was not recalled.
extract.unextracted_events is how many transcript lines extract has not examined. pending_facts is I not yet integrated. A large unextracted count with a healthy fact count means capture is writing D that extract has not examined.
intelligence is billed consolidation spend (calls, tokens, elapsed), broken down by stage and provider for the last 24 hours, all time, and the last few runs. Embeddings are not this number — they are a separate API. Token fields are omitted when the provider did not report them, not shown as zero.
token_budget is remaining room under optional intelligence.token_budget caps (per billed provider, rolling hour / day / week / month). Unset means unlimited. Over the cap, consolidate skips extract, holds the watermark, and does not fall back to the heuristic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||