swiftlint_run
Run SwiftLint analysis on Swift files and output all style and syntax violations as structured JSON for automated code review.
Instructions
Run SwiftLint analysis and report violations as JSON
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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to lint (defaults to current directory) | |
| config | No | Path to .swiftlint.yml config file |