wait_for_app
Polls the application list until a specified app appears or disappears. Use after launching or closing an application to synchronize actions.
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.
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": {
"app": "<app>"
},
"name": "wait_for_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| timeout | No | ||
| gone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |