lint_python
Lint Python code using the Astryx AST linter to catch code issues and enforce configurable max line and parameter limits before execution.
Instructions
Lint Python code using the Astryx AST linter.
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": "lint_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| max_lines | No | ||
| max_params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |