promptbill_repo_spend
Retrieve AI coding spend, token usage, providers, models, and estimated pass-through billing totals for a specific Git repository over a configurable lookback window.
Instructions
Get detailed AI coding spend, token usage, providers, models, and estimated pass-through billing total for a specific Git repository.
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": {
"repo": "<repo>"
},
"name": "promptbill_repo_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days (default 30). | |
| demo | No | Use sample demo data. | |
| repo | Yes | Git repository name (e.g., acme-payments-api). | |
| taxPercent | No | Optional GST/VAT % (default 0). | |
| markupPercent | No | Optional pass-through handling markup % (default 15). |