usage_stats
Returns usage statistics—tokens returned versus avoided, tool calls, and symbols or sections retrieved—for the current session, project lifetime, or overall view, with optional repo filtering.
Instructions
Returns usage statistics: tokens returned vs avoided, tool calls, symbols and sections retrieved. Three levels: current session, per-project lifetime, and overall. Filterable by repo.
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": "usage_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional: show stats for a specific repo |