create_via
Places a via at specified coordinates to connect front and back copper for a net. Uses design-rule defaults unless custom diameter/drill given; dry run previews without modifying board.
Instructions
Places a via (vertical connection between copper layers) at the specified position. The via is assigned to a net and connects the front and back copper layers. If diameter and drill size are not specified, board design rule defaults are used. This creates one undo step: Ctrl+Z removes the via. Use dry_run=true to preview the via placement without creating it. WARNING: This modifies the board. Place vias only where connectivity is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | Yes | X position in millimeters for the via center. | |
| y_mm | Yes | Y position in millimeters for the via center. Y increases toward the bottom of the board. | |
| dry_run | No | If true, compute and report the via parameters without actually creating it. Defaults to false. | |
| drill_mm | No | Via drill hole diameter in millimeters. Omit to use the board's default minimum via drill from design rules (typically 0.3 mm). | |
| net_name | Yes | Name of the net this via connects. Case-sensitive. Use list_nets to discover available net names. | |
| diameter_mm | No | Via pad diameter in millimeters. Omit to use the board's default via diameter from design rules (typically 0.6 mm). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |