ruff_format
Check Python code formatting with Ruff to identify style violations without modifying files. Specify paths or only changed files for targeted checks.
Instructions
Check Ruff formatting without modifying files.
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_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | ||
| output | Yes | ||
| fixable | No | ||
| warnings | No | ||
| exit_code | Yes | ||
| saved_tokens | No | ||
| savings_percent | No |