Finish the open nets
finish_boardClose what the router left open the way a designer does: for each open net the diagnosis names the copper boxing it in; that copper is ripped (never a poured net), the open nets are routed FIRST into the space, then the ripped nets go back around them; up to rounds rounds, each kept only if KiCad counts fewer unconnected items. Use it after route_board leaves a handful of nets open (route_board's default pipeline already runs three rounds; this adds more, or follows a single route); repair_board never moves the blockers.
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": {
"design_id": "<design_id>"
},
"name": "finish_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rounds | No | Rip-and-reroute rounds (default 3). | |
| wait_s | No | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. | |
| reach_mm | No | Radius cleared of tracks and vias around a pad with no way out (default 1.5). | |
| design_id | Yes | The design id returned by import_kicad_project or list_designs. | |
| class_vias | No | Route with the Default class's via instead of the board's smallest legal one. | |
| ml_options | No | ||
| vias_in_pads | No | 'allow': vias may sit in pin pads (the board must be ordered with filled and capped vias). | |
| time_budget_s | No | Router budget per routing call (default 120). |