llm_approve_route
Approve or reject pending high-cost AI routing decisions, optionally downgrading to a cheaper model.
Instructions
Approve or reject a pending high-cost routing decision.
Use this when llm_route (or any routing tool) blocked a call because the estimated cost exceeded LLM_ROUTER_ESCALATE_ABOVE. The pending call is stored server-side until you approve or cancel it.
Args: approve: True to proceed with the call, False to cancel it. downgrade_to: Optional cheaper model to use instead of the blocked one (e.g. "gemini/gemini-2.5-flash" instead of "openai/o3").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approve | No | ||
| downgrade_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |