autopilot_cache_clean
Clear Xcode caches that xcodebuild clean misses by scope: project DerivedData, module cache, SPM cache, index store, or all.
Instructions
Selectively clear Xcode caches that xcodebuild clean does not cover. Use 'project' to remove DerivedData for this project, 'module_cache' for ModuleCache.noindex, 'spm' for SPM fetch cache and SourcePackages, 'index' for the Index store, or 'all' for everything.
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>",
"scope": "<scope>"
},
"name": "autopilot_cache_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| project_path | Yes | Absolute path to .xcodeproj or .xcworkspace |