autopilot_tuist_build
Builds Tuist-managed Xcode projects by detecting the Tuist version, running install/fetch and generate, then executing xcodebuild to return structured compile errors.
Instructions
Build a Tuist-managed Xcode project. Automatically detects Tuist version and runs the correct commands: v4+ uses 'tuist install' + 'tuist generate', v3.x uses 'tuist fetch' + 'tuist generate'. Then runs xcodebuild and returns structured errors with source context, same format as autopilot_build. Use skip_install or skip_generate to skip steps already completed.
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_directory": "<project_directory>",
"scheme": "<scheme>"
},
"name": "autopilot_tuist_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| destination | No | ||
| skip_install | No | ||
| configuration | No | Debug | |
| skip_generate | No | ||
| workspace_path | No | ||
| include_warnings | No | ||
| project_directory | Yes | Absolute path to the directory containing Project.swift or Tuist/ |