ruff_check
Run ruff linting on Python files to find code issues. Specify paths or check only git-changed files for token-efficient output.
Instructions
Run ruff linting with token-efficient output.
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": "ruff_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Paths to check, with glob support. Empty means the whole project. | |
| changed_only | No | Only check Python files modified in git. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | ||
| output | Yes | ||
| fixable | No | ||
| warnings | No | ||
| exit_code | Yes | ||
| saved_tokens | No | ||
| savings_percent | No |