lint_code
Analyze Python code for errors and style issues using ruff or flake8 to improve code quality and maintainability.
Instructions
Lint a Python file using ruff or flake8
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": {
"filepath": "<filepath>"
},
"name": "lint_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the file to lint |