laya_tell_me
Run local typed decisions for bounded classification, ordered scoring, yes/no probability, and model advice via Laya-MLX; treat results as advisory, not authorization.
Instructions
Run a local typed decision with Laya-MLX.
Use for bounded classification, ordered scoring, and yes/no probability. Question types are choice, score, and noul. Treat results as advisory; never use them as authorization for destructive or consequential actions.
Unless advisor is provided, questions is required: an object keyed by question id. Each question requires type and instructions (use a string). choice requires criteria: a nonempty list of unique string labels or an object mapping labels to descriptions. score requires a nonempty criteria list ordered from lowest to highest. noul optionally accepts a criteria object with false/true descriptions. Use criteria, not options. Example: {"risk": {"type": "choice", "instructions": "Classify risk", "criteria": {"low": "Reversible documentation edit", "high": "Data loss"}}}.
For model advice, omit questions and pass advisor with models and current_model. Each host-verified model has id, reasoning_efforts (least to most), and an optional user-approved tier: fast, balanced, strong. No model is switched. For Alpha Squad, also pass role and verified current_reasoning_effort. Non-auto execution roles also require the confirmed session execution_choice pair; omit it for auto and reviewer routing. Returned delegation parameters are recommendations for the host's spawn call, never execution authorization. The current session is not changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| advisor | No | ||
| questions | No | ||
| orchestration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||