apps_host_input
Opens and controls an active app's menu or device using normalized pointer actions and navigation keys when host menus and AI control are enabled. Verify state after each action.
Instructions
Open and operate Menu or Device for the active device App, only when ai_capabilities.hostMenus enables that surface and AI owns control. Read apps_input_targets first. event open opens the named menu; click/drag/scroll coordinates are normalized to the ENTIRE host window (including Monitor bars), not the App viewport. Supports touch-style pointer interaction and navigation keys. Does not operate permission/AI approval, access-management or lifecycle controls. Never sends caller-supplied script or selectors. Verify screenshots/state after delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | type: open/click/drag/scroll/key. open needs no coordinates. Pointer x,y and drag toX,toY: 0..1 of the whole host window. Scroll deltaX,deltaY: -2000..2000 CSS pixels. Keys: Tab/Enter/Escape/space/arrows/Home/End; optional shiftKey. No text or browser modifier shortcuts. | |
| surface | Yes | ||
| generation | Yes | ||
| instanceId | Yes |