swiftlint_fix
Automatically fix SwiftLint violations in your code by specifying a file path or optional configuration file.
Instructions
Auto-fix SwiftLint violations in the specified path
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": "swiftlint_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to fix (defaults to current directory) | |
| config | No | Path to .swiftlint.yml config file |