Get application id
get_app_idParses a module's build.gradle to retrieve its applicationId (package name), required for install, launch, and log operations.
Instructions
Get the applicationId (package name) of a module, parsed from its build.gradle(.kts). Needed by install/launch/log tools.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_app_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Module name (defaults to session) | |
| variant | No | Variant, used to warn about applicationIdSuffix | |
| projectDir | No | Project root (defaults to session) |