route
Map a natural-language task to the appropriate catalog actions with ranked recommendations and argument templates. Optionally execute the top recommendation to return the result in the same call.
Instructions
Map a natural-language task to the best catalog action(s): route(task, repo?, execute?). Returns ranked recommendations with ready-to-run argument templates. With execute=true, dispatches the top recommendation and returns its result in the same call, collapsing discover-then-call into one round-trip. Recommends assemble_task_context / plan_turn for context-gathering intents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository identifier (required to execute repo-scoped actions). | |
| task | Yes | What you're trying to do, in plain language. | |
| model | No | Optional active model id; piggybacks tier-switch like plan_turn(model=...). | |
| execute | No | If true, dispatch the top recommended action and return its result. |