laya_route
Determine task difficulty and required model tier, tools, or human review before executing scheduled jobs or expensive agent turns, providing an act or escalate signal to balance cost and quality.
Instructions
Cheap-vs-specialist routing for a task description: difficulty, which model tier fits, whether tools or human review are needed, plus an act/escalate signal. Use before firing a scheduled job or an expensive agent turn to decide the cost/quality tradeoff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |