gc_cost
Generate a concise meta description for the gc_cost tool.
Instructions
Provider cost ceilings and circuit-breaker (Story 3.3, AD-26). Actions: set_ceiling, get_ceilings, status, spend, check, reset, estimate.
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": {
"action": "<action>"
},
"name": "gc_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cents | No | Spend amount in cents (for spend) | |
| scope | No | Cost scope (run or tree) | |
| action | Yes | Action to perform | |
| provider | No | Provider name (for spend) | |
| scope_id | No | Scope ID | |
| action_name | No | Action name (for spend) | |
| provider_id | No | Provider ID (for estimate) | |
| input_tokens | No | Input tokens (for estimate) | |
| ceiling_cents | No | Ceiling in cents (for set_ceiling) | |
| output_tokens | No | Output tokens (for estimate) | |
| estimated_cents | No | Estimated cents (for check) |