code_review
Review a code file with LLM analysis to get feedback on general, security, performance, or style issues. Provide the file path and optional review type to identify problems and improve code quality.
Instructions
Review code file and provide feedback using LLM analysis
Args:
file_path: Path to the code file to review
review_type: Type of review (general, security, performance, style)
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": "code_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| review_type | No | general |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |