list_gradle_tasks
List available Gradle tasks in a project to discover build, test, and install targets; pass a module-specific task to scope to submodules.
Instructions
List the available Gradle tasks in project_dir (gradlew tasks) — to discover build/test/install targets. In a multi-module build this lists the ROOT project's own tasks by default; pass task=":tasks" (e.g. ":app:tasks", from list_gradle_projects) to scope to a submodule instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Gradle task to scope to, e.g. ":app:tasks" to list the :app module's tasks or variants. Defaults to the root project's tasks. | |
| project_dir | No | Path to the Android project root containing the Gradle wrapper (gradlew). Optional if session_set_defaults has pinned a project_dir for this session. |