analyze_code
Analyzes source code in a specified programming language to detect security, performance, style, and bug issues and suggest improvements.
Instructions
Perform comprehensive code analysis for issues 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": {
"code": "<code>",
"language": "<language>"
},
"name": "analyze_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to analyze | |
| checks | No | Types of analysis to perform | |
| language | Yes | Programming language |