review_code
Review source code to identify bugs, security vulnerabilities, code quality issues, strengths, and recommended actions. Get an overall score from 1 to 10.
Instructions
Review source code and return a structured analysis covering bugs, security issues, code quality, strengths, and recommended actions. Returns an overall score 1-10. Costs 2000 sats via Lightning. Supports: Python, JavaScript, TypeScript, Go, Rust, Java, C/C++, C#, Ruby, PHP, Swift, Kotlin, Scala, Shell, SQL, Terraform, and more.
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": "review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to review | |
| language | No | Language hint (optional, auto-detected if omitted) | |
| filename | No | Filename hint for language detection (optional) |