as_gradle_run_task
Run any Gradle build task with extra arguments for Android projects. Outputs JSON with status, command output, and build outputs.
Instructions
Run arbitrary Gradle tasks with optional extra args (power tool).
Use the dedicated tools (assemble/test/lint/clean) when possible; this is the escape hatch for anything else (e.g. installDebug, uninstallAll, custom tasks).
Args: params (GradleRunTaskInput): project_dir, tasks (list), args (list), timeout.
Returns: str: JSON with gradle status, command output and detected build outputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |