ollama_general_task
Executes general coding tasks with local Ollama models for requests that don't fit specialized categories, using supplied context to generate, review, or analyze code.
Instructions
Execute any general coding task using Ollama. Use this for tasks that don't fit other categories.
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": "ollama_general_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Detailed description of the task to perform | |
| model | No | Ollama model to use (default: mistral-small) | gemma3:12b |
| context | No | Any relevant context, code, or background information |