check_circuit_breaker
Inspect daily token usage, remaining budget, and circuit breaker status from the local SQLite ledger to stop runaway agent loops and prevent daily bill spikes.
Instructions
Inspect daily token consumption, remaining budget, and circuit breaker status from the local SQLite ledger to prevent runaway agent loops and $50/day bill spikes.
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": "check_circuit_breaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No | SQLite token ledger path (default: .cache/iktisad_gateway.db). | .cache/iktisad_gateway.db |
| daily_budget | No | Daily token budget cap (default: 1,000,000). |