eda_sys_dialog_insert_script_to_dialog
Inject custom script functions into EasyEDA Pro native dialogs by specifying dialog ID and function arguments, enabling automated dialog interactions.
Instructions
sys_Dialog.insertScriptToDialog(dialogId: string, scriptFunction: (...args: Array) => void | Promise, ...args: Array) -> void 向指定原生弹窗注入函数
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_dialog_insert_script_to_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |