Analyze Java Code
analyze_codeDetect complexity, code smells, and structural problems in Java source code to find issues early and guide targeted refactoring.
Instructions
Analyze Java source for complexity, smells and structural problems.
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": "analyze_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to analyze | |
| language | No | Programming language |