app_wait_for_dialog
Block until a dialog appears and report which one, so callers can wait for a command-triggered dialog instead of using fixed sleeps.
Instructions
Block until a dialog appears, and report which one.
A COMMAND THAT RAISES A DIALOG RETURNS BEFORE THE DIALOG EXISTS. A caller that acted and then looked found nothing and concluded none was coming; the alternative was a fixed sleep long enough to be safe, which is the pattern this layer spent the day removing everywhere else.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "app_wait_for_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||