lint_code
Lint Python code strings using wemake-python-styleguide rules, returning structured violation reports for style compliance.
Instructions
Lint a raw Python code string using wemake-python-styleguide rules.
Args: code: Python source code string to lint.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |