validate_code
Check code syntax statically without execution to identify errors early and simplify debugging.
Instructions
Validate code syntax without executing it. Performs static analysis to check for syntax errors.
Use this to check code validity before execution or to help debug syntax issues.
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": {
"language": "<language>",
"code": "<code>"
},
"name": "validate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to validate | |
| language | Yes | Programming language to validate |