delegate_to_model
Auto-generated from the registered MCP tool descriptions and input schemas. Do not edit by hand — run
pnpm docs:toolsto regenerate.
Pick which existing model should HANDLE a task. Inspects task complexity and returns the best-fit model from the routing registry — does NOT add a new model. Records the routing decision to tool-memory for learning feedback (not a pure read).
Parameters
| Parameter | Type | Required | Constraints | Description |
|---|---|---|---|---|
task |
string | yes | minLength 1; maxLength 50000 | Task to execute or analyze |
preferred_capability |
enum | no | one of: reasoning | context | speed | code | Preferred capability for routing: reasoning, context, speed, or code |
model_hint |
string | no | maxLength 100 | Explicit model preference (e.g., claude-opus, gemini-pro) |
billing_mode |
enum | no | one of: plan | api | Billing mode: plan (monthly subscription, ignore cost) or api (pay-per-token) |