List an app's menu items
list_menu_itemsLists an app's menu items and keyboard shortcuts, including actions with no on-screen button, so you can see all available commands and choose one to run.
Instructions
List the items of an app's menus, with their keyboard shortcuts: what the app can do, including what no button on screen shows. The app needn't be in front. click_menu_item chooses one.
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": "list_menu_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The app, by name, bundle identifier or path. The app in front by default. | |
| menu | No | Only this menu of the menu bar, such as 'File' or 'View'. Every menu by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |