Gradle project properties
gradle_project_propertiesRetrieve a Gradle module's evaluated properties—including namespace, Android SDK settings, build directory, and other effective configuration—with secret-shaped values redacted.
Instructions
Dump Gradle's evaluated properties for one module, such as :app or :feature:login. Use after list_gradle_projects when you need the module's namespace, Android SDK settings, build directory, or other effective configuration rather than just its task/variant names. This is the module's FULL effective property set — the same one ./gradlew properties would print, which can include credentials a build.gradle reads from ~/.gradle/gradle.properties or env (e.g. private Maven repo auth). Values for keys that look secret-shaped (password/token/key/credential) are redacted before being returned.
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": {
"module": "<module>"
},
"name": "gradle_project_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Gradle module path, e.g. :app or :feature:login. | |
| 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. |