pcb_route_layers
Routes between real through-hole pads across TOP/BOT layers using calibrated through-vias, with A* or explicit waypoints, while preserving existing copper and verifying native via geometry.
Instructions
Route between real through-hole pads across TOP/BOT with full-diameter calibrated through-vias. Requires fresh pcb_read token and native via_style. Automatic layer-state A* or explicit waypoints of {layer,position_nm}; a layer change repeats the same position. Preserves all old wires/vias and verifies exact native copper, style, hole, span and multiplicity. Only two-copper-layer rectangular boards with known geometry. NOT push/shove, blind/buried vias, full DRC or atomic. Save/reopen for disk verification.
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": {
"session": "<session>",
"expected_token": "<expected_token>",
"net": "<net>",
"from_pad": "<from_pad>",
"to_pad": "<to_pad>"
},
"name": "pcb_route_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| to_pad | Yes | ||
| grid_nm | No | ||
| session | Yes | ||
| from_pad | Yes | ||
| max_vias | No | ||
| width_nm | No | ||
| end_layer | No | ||
| via_style | No | ||
| waypoints | No | ||
| start_layer | No | ||
| clearance_nm | No | ||
| expected_token | Yes |