ollama_review_code
Review code for issues, bugs, security, performance, and best practices with Ollama, then get actionable improvement suggestions.
Instructions
Review code for issues, bugs, or improvements using Ollama. Use this for code quality checks and suggestions.
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": {
"code": "<code>"
},
"name": "ollama_review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to review | |
| focus | No | What to focus on (e.g., 'performance', 'security', 'best practices', 'bugs') | general code quality |
| model | No | Ollama model to use (default: mistral-small) | gemma3:12b |