Build the board (sync to DRC)
board_buildBuilds a complete PCB from a schematic in one call: syncs, outlines, places, routes, pours ground, and verifies DRC/ERC with a compact report.
Instructions
The whole board in ONE call: update the PCB from the schematic, outline, placement, routing, ground pour and
KiCad's DRC + ERC, with one compact report (a line per stage, error groups with fixes, fab_ready, next). Use it
instead of pcb_sync, pcb_setup, pcb_place, pcb_route, pcb_pour and verify one after another.
width/height (mm) apply when the board has no outline (omit both to size it from the parts) or with
outline='replace'. An existing outline, existing tracks and placed parts are kept: on a board that already has
copper only new footprints are placed and only missing connections are routed.
If the result has pending, the time box was reached: call board_build() again to continue.
Example: board_build(width=50, height=32)
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": "board_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | refs not to move | |
| pour | No | [{net, layers}] (default: ground, outer layers) | |
| holes | No | corner mounting holes | |
| image | No | one small picture (default final) | |
| moves | No | [{ref,x,y,rot,side,lock}] | |
| steps | No | only these (default all) | |
| width | No | mm | |
| height | No | mm | |
| layers | No | copper layers (default: as is) | |
| radius | No | corner radius mm | |
| router | No | auto: built-in router, then Freerouting if installed | |
| outline | No | ||
| project | No | project path (default: active) | |
| while_open | No | refuse (default) | revert | |
| time_budget | No | seconds before returning `pending` (default 45) |