Context pack statistics
context_statsEstimate token cost of a context pack without returning full markdown. Use for before and after comparisons to optimize token usage.
Instructions
Estimate token cost of a context pack without returning full markdown. Useful before/after comparisons.
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": "context_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | ||
| diff | No | ||
| root | No |