eda_sch_primitive_wire_create
Create a schematic wire in EasyEDA Pro from coordinate points, with optional net, color, line width, and line type settings.
Instructions
sch_PrimitiveWire.create(line: Array | Array<Array>, net?: string, color?: string | null, lineWidth?: number | null, lineType?: ESCH_PrimitiveLineType | null) -> Promise<ISCH_PrimitiveWire | undefined> 创建导线 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_sch_primitive_wire_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |