clean
Remove build artifacts (out/ and zkout/ directories) from a Foundry project to free up space and reset the build environment.
Instructions
Remove build artifacts (out/ and zkout/) from a foundry project (forge clean)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the foundry project directory | |
| profile | No | Foundry profile to use (maps to FOUNDRY_PROFILE env var). Selects a [profile.<name>] section from foundry.toml, e.g. 'zksync', 'ci', 'production'. |