route_task
Routes a task to the smallest relevant MCP tool slice, reducing token usage and keeping AI coding agents focused on only necessary tools and snippets.
Instructions
Route a task to the smallest relevant MCP tool slice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "route_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | recommend_tools | |
| task | Yes | ||
| top_k | No | ||
| token_budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |