add_wire
Draw a wire between two coordinates in a KiCad schematic, snapping to the 1.27 mm grid. Specify schematic path and endpoints in millimeters.
Instructions
Draw a wire between two points (mm, snapped to the 1.27 mm grid).
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_mm": "<x1_mm>",
"y1_mm": "<y1_mm>",
"x2_mm": "<x2_mm>",
"y2_mm": "<y2_mm>"
},
"name": "add_wire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1_mm | Yes | ||
| x2_mm | Yes | ||
| y1_mm | Yes | ||
| y2_mm | Yes | ||
| schematic_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |