eda_sys_iframe_is_iframe_already_exist
Check if an iframe already exists in the EasyEDA Pro window by providing its ID. Returns true if present, false otherwise.
Instructions
sys_IFrame.isIFrameAlreadyExist(id: string) -> Promise
内联框架是否已存在
remarks: 注意:本接口仅扩展有效,在独立脚本环境内调用将始终 throw Error
ADD since EDA v4.2 returns: 是否存在
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_iframe_is_iframe_already_exist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |