krl_lint_snippet
Statically analyze KRL snippets offline to detect uninitialized $TOOL/$BASE, loops without EXIT, division by zero, unbalanced FOLD blocks, I/O bound overflows, and non-ASCII characters.
Instructions
Fast offline static code analysis for KRL code snippets. Detects uninitialized $TOOL/$BASE, infinite loops without EXIT, literal division by zero, unbalanced ;FOLD/;ENDFOLD blocks, physical I/O bound overflows, and non-ASCII characters.
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": "krl_lint_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | KRL code snippet text to inspect |