route_step
Route a step to economy or frontier tier before running it, using a committed, versioned question schema for measurable model-routing decisions.
Instructions
Route a step to a tier BEFORE running it: economy (mechanical, one pass, cheap) or frontier (needs exploration, multi-step, expensive to get wrong), plus needs_tools and sensitive flags. Answers a committed, versioned question schema, so the decision is comparable across models and re-measurable. Use it to decide which model should do the work, never to block an action: the response is advisory, and gate quality on the committed eval, not on one call. For a fixed-preset routing opinion use laya_route instead; this tool is the measured, schema-driven one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| backend | No | laya | |
| context | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |