Widen power nets in place
widen_netsGrow the tracks (and optionally vias) of the named nets in place, each as wide as its clearance to every other net's copper, holes and the board edge allows, up to the net's target width. Nothing moves and no via is added, so the score does not change. Routers neck power down to the signal width wherever the class width did not fit their grid; most necks have room around them. List the heaviest current first: earlier nets take the room. Pours are refilled after each net and a widening that leaves the board less connected is backed out. The result names what still holds each remaining neck (a neighbour to move or reroute).
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>",
"nets": "<nets>"
},
"name": "widen_nets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | Yes | Net -> target track width in mm. | |
| vias | No | Net -> [diameter_mm, drill_mm] sizes to try, largest first; a via only ever grows. | |
| guard | No | Refill pours and back out widenings that disconnect anything (default true). | |
| necks | No | How many remaining necks to report per net (default 12). | |
| wait_s | No | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. | |
| design_id | Yes | The design id returned by import_kicad_project or list_designs. |