update_app_file_info
Attach uploaded files to an app draft by providing file type, names, destination URLs, and SHA256 checksums.
Instructions
Attach already-uploaded files to the app draft. Use after get_upload_url + manual upload.
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": {
"file_type": "<file_type>",
"files": "<files>"
},
"name": "update_app_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | AppGallery Connect app ID. Optional if HUAWEI_APP_ID is set in the environment. | |
| file_type | Yes | 1=APK, 2=RPK, 5=AAB. | |
| files | Yes |