lint
Run linter checks and analyze code problems with resolution hints. Supports ruff and flake8 with optional auto-fix.
Instructions
[HINT: Linting tool. action=run|analyze. Run linter or analyze problems.]
Unified linting:
action="run": Execute linter (ruff/flake8), optionally analyze results
action="analyze": Analyze problems JSON with resolution hints
📊 Output: Linter results or problem analysis 🔧 Side Effects: May auto-fix issues (with fix=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | run | |
| path | No | ||
| linter | No | ruff | |
| fix | No | ||
| analyze | No | ||
| select | No | ||
| ignore | No | ||
| problems_json | No | ||
| include_hints | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |