autopilot_build
Build Xcode projects and return structured compile errors and warnings with source code context, enabling targeted fixes.
Instructions
Run xcodebuild and return structured errors and warnings WITH source code context (±50 lines around each error). Use this to get all the information needed to generate fixes. After calling this tool, analyze the errors and call autopilot_apply_fixes with your fixes.
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": {
"project_path": "<project_path>",
"scheme": "<scheme>"
},
"name": "autopilot_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| destination | No | ||
| project_path | Yes | Absolute path to .xcodeproj or .xcworkspace | |
| configuration | No | Debug | |
| include_warnings | No |