desktop_wait
Waits for a specified duration or until a UI element, window, text, menu, or event condition is met, enabling synchronized macOS app automation.
Instructions
Wait for ms, an element (role:text), a window, text, a menu or an event.
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": "desktop_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| app | No | ||
| menu | No | ||
| text | No | ||
| count | No | ||
| event | No | ||
| value | No | ||
| action | No | click | |
| window | No | ||
| element | No | ||
| timeout | No | ||
| predicate | No | exists | |
| window_id | No | ||
| menu_closed | No | ||
| notification | No |