thread_stats
Read confidence-separated lifetime token metrics for a single thread by passing its thread ID to inspect usage and confidence levels.
Instructions
Read confidence-separated lifetime token metrics for one thread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thread_id": "<thread_id>"
},
"name": "thread_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turns | Yes | ||
| thread_id | Yes | ||
| actual_input_tokens | No | ||
| cached_input_tokens | No | ||
| actual_output_tokens | No | ||
| local_compactor_tokens | No | ||
| actual_usage_completeness | Yes | ||
| projected_input_tokens_saved | Yes | ||
| estimated_baseline_input_tokens | Yes | ||
| estimated_hydrated_input_tokens | Yes | ||
| baseline_estimate_adjusted_reduction | No | ||
| verified_counterfactual_tokens_saved | No |