Remove redundant vias
prune_viasRemove every via the board does not need: groups of vias come out, the zones are refilled and KiCad's unconnected count compared, and a via stays only if removing it disconnects something. nets limits the candidates (GND and the plane rails first: pours already join most of their pads). Runs for minutes on a large board; then fill_zones, run_drc and score_board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | No | ||
| wait_s | No | Seconds to wait for the job (default 55). A job still running comes back with status "running": follow it with get_board_job. | |
| workers | No | ||
| design_id | Yes | The design id returned by import_kicad_project or list_designs. |