Ui Menu Bar Click
ui_menu_bar_clickClicks a status-bar item (menu bar extra / NSStatusItem, the icons at the right of the menu bar) and optionally follows a nested menu path. It does NOT click an application's own menu-bar commands (File, Edit, View…): for those use ui_find_element + ui_click or ui_keystroke. Best-effort via the app's AX extras menu bar; apps that render fully custom (non-AX) menus may not be reachable (fall back to ui_click at known coords). Requires Accessibility permission.
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": "ui_menu_bar_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Nested menu path, e.g. ["App","Settings…"]. | |
| label | No | Status item / menu item title. | |
| app_bundle_id | No | Owner of the status item. |