Auto-place components
pcb_auto_placeAutomatically places PCB components inside the board outline by minimizing weighted wire length without overlaps, then pulls connectors to edges and keeps fixed parts locked.
Instructions
Automatic placement inside the board outline: big parts first, every part placed to minimise weighted wire length (decoupling caps and series parts end up next to their IC pins; GND/power nets weigh little), no overlaps, then simulated annealing. Keep parts fixed with fixed (or lock them). Connectors (J*, USB*, CN*, or listed in edge) are pulled to board edges. Review with pcb_snapshot, then fine-tune with pcb_place.
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_auto_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | ||
| only | No | place only these; everything else is fixed | |
| fixed | No | ||
| dryRun | No | ||
| rotate | No | ||
| spacing | No | mm between part bodies | |
| iterations | No |