route_agent_step
Route AI agent workflow steps across local, balanced, and frontier reasoning models with cost/latency optimization, semantic caching, failover, and confidence-gated escalation.
Instructions
Route an AI agent workflow step across FAST_LOCAL, BALANCED, and FRONTIER_REASONING models using Pareto cost/latency optimization, SimHash semantic caching, circuit-breaker failover, and confidence-gated cascade escalation.
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": {
"prompt": "<prompt>"
},
"name": "route_agent_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | User or agent step instruction. | |
| step_id | No | step-0 | |
| tenant_id | No | default-tenant | |
| workflow_id | No | default-workflow | |
| bypass_cache | No | ||
| max_cost_usd | No | ||
| tools_schema | No | ||
| system_prompt | No | ||
| latency_sla_ms | No | ||
| min_confidence | No | ||
| require_json_schema | No | ||
| estimated_output_tokens | No |