run_app
Launch a HarmonyOS app on a connected device using its bundle name. Optionally specify device ID, ability, or module to control startup.
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": {
"bundle_name": "<bundle_name>"
},
"name": "run_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | ||
| hdc_server | No | ||
| auto_detect | No | ||
| bundle_name | Yes | ||
| module_name | No | ||
| ability_name | No |