clean
Remove build artifacts from Gradle projects to free disk space and ensure clean builds. Specify a project path or clean the entire project to eliminate cached files and temporary outputs.
Instructions
Clean build artifacts for a Gradle project.
This is the only tool that should be used for cleaning tasks.
Args: project: Project path (e.g., ':app'). Use None, empty string, or ':' for root project.
Returns: TaskResult with success status and error message if failed.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project | No |
Input Schema (JSON Schema)
{
"properties": {
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"type": "object"
}