offer_apk
Pushes a new APK to a CarDeck device by copying it to public/ and triggering an install prompt, using the local APK file path and target device ID.
Instructions
向设备推送新 APK(复制到 public/ 并下发安装提示;filePath 为本地 APK 绝对路径)
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": {
"deviceId": "<deviceId>",
"filePath": "<filePath>"
},
"name": "offer_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | debug | |
| deviceId | Yes | ||
| filePath | Yes |