spend_report
Totals what every run has cost across a chosen window of days by reading local run folders, so you can check spend today before starting another run.
Instructions
What every run has cost across a window of days, not just one run. Derived from the run folders on disk - nothing is recorded anywhere else and nothing leaves this machine. Use this to answer "what have I spent today" before starting another run. A run that paid OpenRouter also carries providerReported: what the provider reported beside the usd THC counted (unverified, its unit is not given, counted in no total).
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": "spend_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | how far back to look, in days. Defaults to 1. |