add_via
Add a via to an existing PCB trace at specified coordinates, using a dry-run preview to verify changes before applying.
Instructions
Add a verified ViaStyle trace point on an existing segment. All distances are in millimetres, regardless of the document's own Units attribute. dry_run=true previews without writing. Set dry_run=false only after inspecting the preview and pass its expected_sha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| path | No | ||
| txid | No | ||
| dry_run | No | ||
| trace_id | Yes | ||
| via_style | Yes | ||
| layer_after | No | ||
| layer_before | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||