activate_menu_item
Activate a global app-menu item by its index from get_app_state. Uses DBusMenu/GMenu when the app exposes a menu model, independent of AT-SPI roles.
Instructions
Activate a global app-menu item from get_app_state. Uses DBusMenu/GMenu when the app exposes a menu model; this is independent of AT-SPI menu roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name, Hyprland class/title, pid, or address:0x... selector. | |
| menu_index | Yes | Global menu item id from get_app_state, for example menu:12. | |
| confirmation_token | No | Externally approved, one-time challenge ID from request_confirmation for a high-risk action. |