set_gms_dependency
Declare if your app requires Google Mobile Services (GMS) by setting a flag, ensuring correct dependency configuration for AppGallery publishing.
Instructions
Declare whether the app depends on GMS (Google Mobile Services).
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": {
"need_gms": "<need_gms>"
},
"name": "set_gms_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | AppGallery Connect app ID. Optional if HUAWEI_APP_ID is set in the environment. | |
| need_gms | Yes | 0=no GMS, 1=requires GMS. |