autopilot_clean
Removes derived data for an Xcode project by running xcodebuild clean with a specified scheme and project path, clearing stale build artifacts before rebuilding.
Instructions
Run xcodebuild clean to remove derived data for the project.
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_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| project_path | Yes | Absolute path to .xcodeproj or .xcworkspace |