python_lint
Lint Python code to detect errors and style issues using ruff, with auto-fix support for quick corrections.
Instructions
Lint Python code using ruff check with auto-fix support
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "python_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | Automatically fix issues | |
| args | No | Additional arguments | |
| check | No | Check only, don't modify files | |
| files | No | Specific files to lint/format | |
| timeout | No | Command timeout in milliseconds | |
| directory | No | Working directory |