26 lines
788 B
Plaintext
26 lines
788 B
Plaintext
{
|
|
"description": "Route a subtask to an appropriate model tier. Spawns a subagent that reports back.",
|
|
"prompt": "## route\n\nRoute a subtask to an appropriate model tier. Spawns a subagent that reports back.\n\n```\nroute(instruction=\"implement the login page\")\nroute(instruction=\"refactor auth module\", tier=\"expert\")\n```",
|
|
"args": {
|
|
"type": "object",
|
|
"required": [
|
|
"instruction"
|
|
],
|
|
"properties": {
|
|
"instruction": {
|
|
"type": "string",
|
|
"description": "Task description to route"
|
|
},
|
|
"tier": {
|
|
"type": "string",
|
|
"description": "Model tier: worker (default) or expert"
|
|
},
|
|
"backend": {
|
|
"type": "string",
|
|
"description": "Backend override"
|
|
}
|
|
}
|
|
},
|
|
"readOnly": true
|
|
}
|