analyze_file
Analyzes source files for potential issues using Xcode's static analyzer to identify code problems before execution.
Instructions
Analyzes a source file for potential issues using Xcode's static analyzer.
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": {
"filePath": "<filePath>"
},
"name": "analyze_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the source file to analyze. |