model-shunt
v1.2.1Model routing for AI agents: delegate bulk reads & boilerplate to cheap worker models.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bulk_read
Reads multiple or large files and answers a targeted question using a cheap, fast worker model (e.g. Gemini Flash, Groq, Ollama). Saves ~90% tokens by returning only structured bullet points.
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | List of file paths to analyze |
question * | string | The specific question to answer about the files |
model | string | Optional model override (or 'auto' to select the best available reader model) |
provider | string | Optional provider override (gemini, groq, openai, deepseek, anthropic, ollama, openrouter) |
code_write
Generates boilerplate code (tests, mocks, stubs, configs) matching the patterns of a reference file. Can write directly to disk without consuming frontier output tokens.
| Parameter | Type | Description |
|---|---|---|
reference_path * | string | Path to reference file whose conventions, style, and structure should be replicated |
spec * | string | Description of what code to generate |
model | string | Optional model override (or 'auto' to select the best available writer model) |
provider | string | Optional provider override (gemini, groq, openai, deepseek, anthropic, ollama, openrouter) |
target_path | string | Optional path where generated code should be written directly on disk |
get_available_models
Discovers active models from the worker provider and recommends the best model for reading (high context / low cost) and writing (code intelligence). Enables calling agents to delegate dynamically to the best model.
| Parameter | Type | Description |
|---|---|---|
provider | string | Optional provider to query (gemini, groq, openai, deepseek, anthropic, ollama, openrouter). Defaults to active provider. |