List Gradle Tasks
gradle_list_tasksList available Gradle tasks in an Android project or specific module to identify build, test, and deployment commands without leaving the IDE.
Instructions
List all available Gradle tasks in an Android project
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": {
"projectDir": "<projectDir>"
},
"name": "gradle_list_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Specific module to list tasks for | |
| projectDir | Yes | Absolute path to the Android project root directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes |