eda_sys_right_click_menu_change_menu
Replace the right-click menu in EasyEDA Pro by supplying a menu ID and new menu items. Updates the menu for a target window or the active one.
Instructions
sys_RightClickMenu.changeMenu(menuId: string, menuItems: Array<ISYS_RightClickMenuItem | null>) -> Promise 修改右键菜单
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": "eda_sys_right_click_menu_change_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |