gemini_code_review
Review code files using AI to detect bugs, adherence to best practices, and areas for improvement. Specify focus areas for a targeted analysis.
Instructions
Use Gemini CLI to review code for correctness, best practices, and improvements
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": {
"file_path": "<file_path>"
},
"name": "gemini_code_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Additional context (max 1000 chars) | |
| language | No | Programming language (auto-detected if not specified) | |
| file_path | Yes | Path to the source code file to review | |
| focus_areas | No | general |