wait_for_app
Waits for a specified application to appear or disappear. Use after launching or closing an app to verify state changes.
Instructions
Wait for an application to appear or disappear.
Polls the application list until the app is found (or gone).
Use after launching or closing an application.
Args:
app: Application name to wait for (e.g. "Firefox", "Slack").
timeout: Maximum seconds to wait (default 10).
gone: If true, wait for the app to DISAPPEAR instead.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| timeout | No | ||
| gone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |