Autoroute (built-in router)
pcb_autorouteRoutes remaining small signal nets on a 2-layer PCB with exact clearances, 45° tracks, vias, and rip-up retry; leaves ground nets for pours by default and reports failures.
Instructions
OPTIONAL helper — route power and critical nets by hand first (pcb_tracks, pcb_copper), then use this for the remaining small signal nets. Built-in 2-layer maze router (exact clearances, 45° segments, vias, rip-up & retry). Ground nets are skipped by default — connect them with GND pours on top & bottom (pcb_pour) — unless routeGround=true. Power nets get powerTrack width. Options: nets (route only these), skipNets, replace (rip existing routing of those nets first). All sizes in mm. Reports routed / failed connections. If some fail: move parts apart (pcb_place), allow more vias, or reduce track/clearance, then run again.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pcb_autoroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | router grid in mm (auto) | |
| nets | No | ||
| track | No | ||
| dryRun | No | ||
| layers | No | ||
| replace | No | ||
| viaCost | No | ||
| viaHole | No | ||
| skipNets | No | ||
| clearance | No | ||
| netWidths | No | ||
| powerTrack | No | ||
| timeLimitS | No | ||
| routeGround | No | ground nets are normally left to GND pours/planes (pcb_pour) — set true to route them as tracks | |
| viaDiameter | No | ||
| edgeClearance | No |