eda_dmt_editor_control_create_split_screen
Creates a split screen in the EasyEDA Pro editor by specifying the split direction and tab, returning source and new split screen IDs for further control.
Instructions
dmt_EditorControl.createSplitScreen(splitScreenType: EDMT_EditorSplitScreenDirection, tabId: string) -> Promise<{ sourceSplitScreenId: string; newSplitScreenId: string } | undefined>
创建分屏
returns: 分屏 ID,sourceSplitScreenId 代表源分屏,newSplitScreenId 代表新分屏
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_dmt_editor_control_create_split_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |