swift_package_clean
Removes Swift Package build artifacts and derived data to free up storage and improve build performance. Specify the package root path to initiate the cleanup process.
Instructions
Cleans Swift Package build artifacts and derived data
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": {
"packagePath": "<packagePath>"
},
"name": "swift_package_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packagePath | Yes | Path to the Swift package root (Required) |