get_stats
Retrieve token usage statistics or subsystem-specific metrics such as session budget, TCA, or DCP. Filters by project and context for targeted analysis.
Instructions
Unified stats dispatcher. category = usage (default) | session_budget | tca | dcp | linucb | warmstart | leiden | speculation | lattice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Which stats subsystem to report (default 'usage'). | |
| context_type | No | For category=lattice: filter to one context (navigation/edit/review/unknown). | |
| budget_tokens | No | For category=session_budget: soft budget cap (default 200000). | |
| project | No | Project name/path (default: active). |