click_menu_item
Clicks a native application menu item by path, ID, or role to automate Electron menu actions during debugging.
Instructions
Trigger a click on a native application menu item by path (e.g. 'File > Open File...'), id, or role
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": "click_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | MenuItem ID if assigned | |
| path | No | Full menu item path e.g. 'File > Save' or 'View > Toggle Developer Tools' | |
| role | No | Standard role e.g. 'undo', 'cut', 'copy' | |
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. |