model_route_write
Records the router's per-role model, CLI, and effort decisions for a pass, validating every entry against the local catalog and rejecting the batch with all errors so the router can fix and retry.
Instructions
Record the model router's decision for every role in this pass.
Only the spawned router child carrying the parent-issued pass id may call
this. decisions is a list (or a JSON-encoded list) with one object per
role: {"role", "cli", "model", "effort", "reason"}. Every decision is
checked against the local model catalog; any problem rejects the whole
call and lists every error so the router can fix them and call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pass_id | Yes | ||
| decisions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |