swift_format_run
Run swift-format lint to check Swift code formatting in specified paths. Optionally recurse into subdirectories to identify style violations.
Instructions
Run swift-format lint to check formatting
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "swift_format_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to check formatting | |
| recursive | No | Recurse into subdirectories (default: true) |