ask_local_model
Delegate well-specified, boilerplate sub-tasks to a local Ollama model to save tokens and time, then review the result before accepting it.
Instructions
Delegate a sub-task to the local Ollama model running on this machine. Use for well-specified, boilerplate-ish work (scaffolding, repetitive edits, straightforward generation) to save tokens/time, then review the result yourself before accepting it.
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": "ask_local_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ollama model tag to use (default: qwen2.5-coder:7b-instruct). | |
| prompt | Yes | The task/instructions for the local model. | |
| system | No | Optional system prompt to steer the local model. |