Add Wire
add_wireDraws a wire between two coordinate points in an LTspice .asc schematic to connect components for simulation and netlist generation.
Instructions
Add a wire. Exposed as add_wire by the tool module.
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": {
"schematic_path": "<schematic_path>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "add_wire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| schematic_path | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |