Add schematic wire
easyeda_schematic_add_wireAdd native schematic wires between coordinates or pins and use a shared netName to merge separate stubs into one net; collision checks guard touched points against foreign nets.
Instructions
Add a wire connecting schematic coordinates/pins — real native connectivity. Same netName connects pins globally: separate stubs sharing one name merge into one net (no label needed). NET_COLLISION guards touched points against a foreign net's wire, pin, or flag/port — not mid-segment crossings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"points": "<points>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_add_wire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| points | Yes | ||
| netName | No | ||
| lineType | No | ||
| lineWidth | No | ||
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| expectedPcbUuid | No | Expected focused PCB document UUID; reject a different focused PCB before a write. | |
| expectedSchematicPageUuid | No | Expected focused schematic page UUID; reject a different focused page before a write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||