open_app
Bring an Android app to the front by name or package ID, waiting until it reaches the foreground before returning.
Instructions
Bring an app to the front, by the name a person would say.
Accepts "YouTube", "youtube", "play store", or an exact package id. The name is checked against what is actually installed before anything is launched, and it waits for the app to reach the foreground before returning.
Args: name: The app to open. wait_seconds: How long to wait for it to reach the foreground.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The app, by the name a person would say: 'settings', 'Play Store', 'com.android.chrome'. | |
| wait_seconds | No | How long to wait for it to reach the foreground before giving up. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |