clean_project
Cleans the build directory for the active Xcode project, removing stale build artifacts to fix build errors and reclaim disk space. Accepts optional scheme, configuration, and derived data path.
Instructions
Cleans the build directory for the active Xcode project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clean_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | No | Optional scheme to clean. If not provided, will use the first available scheme. | |
| configuration | No | Optional build configuration to clean (e.g., 'Debug' or 'Release'). If not provided, cleans all configurations. | |
| derivedDataPath | No | Optional path to the derived data directory to clean. If not provided, uses Xcode's default location. |