route_prompt
Classifies a coding prompt by task type, then routes it to an optimal LLM among Claude, Gemini, and GPT-4o, balancing capability and cost.
Instructions
Routes a coding prompt to the best LLM (Claude, Gemini, GPT-4o) based on task type. Automatically classifies the task and selects the cheapest/most capable model.
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": {
"prompt": "<prompt>"
},
"name": "route_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The user's coding prompt or question | |
| session_id | No | Optional session ID for context continuity (default: 'default') |