Model Route
model_routeRecommend a cheap, mid, or premium model tier for a coding request before work starts, using repository risk signals and request specifics. Optionally map the tier to a host model id.
Instructions
Recommend a model tier (cheap, mid or premium) for a coding request before any work starts. Combines solumbe's deterministic repository half (AX, containment, top-severity risk paths) with a System One model's calibrated read of the request (specificity, blast radius, novelty). The model is called only when TYPESAFE_API_KEY is set in this server's environment and offline is not true; otherwise the read is a labelled offline estimate, and model.source says which. Advisory: it recommends a tier and never feeds review_gate or review_verdict. Pass host to map the tier to that host's model id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of impact files to consider. Defaults to 8. | |
| host | No | Optional host whose model map resolves the tier to a model id (built in: claude-code; add others in .solumbe/model-route.json). | |
| path | No | Repository path. Defaults to current working directory. | |
| query | Yes | Plain-English change request to route, e.g. "fix the typo in the README". | |
| offline | No | Never call the model, even when a key is set. Defaults to false. | |
| includeMarkdown | No | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |