post_lint_elixir
Elixir lint / debug kit: POST {code}, get the bugs back with line numbers. Deterministic static analysis — code is parsed, never executed, no AI. Catches unbalanced do/end and brackets, missing do, 'return', '+' string concat, trailing commas, field assignment, = vs == in conditions and guards, block-scoped rebinding (the classic), charlist vs String mixups, unused variables. Errors, warnings and hints with fixes. Max 128 KB. ($0.002 per call, paid via x402)
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": "post_lint_elixir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Elixir source to lint, max 128 KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | No | ||
| issues | No | ||
| syntax | No | ||
| verdict | No | ||
| language | No |