Place parts on the PCB
place_pcbCreate the PCB. With auto=true the server places the parts and picks the smallest board (normal way). Costs credits. Requires a PCBBrew account (sign-in).
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": {
"project_id": "<project_id>"
},
"name": "place_pcb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto | No | ||
| texts | No | ||
| width | No | ||
| height | No | ||
| layers | No | ||
| spacing | No | auto only: mm between parts (1 normal, 1.5-2 if routing fails) | |
| tht_back | No | only if THT parts must go on the back: the reason | |
| keep_size | No | only if the size is imposed: the reason | |
| placement | No | {REF: {x, y, rot, side: 'F'|'B'}} mm from the board's top-left corner; x, y = footprint anchor ('origin' in the result, not 'centre') | |
| project_id | Yes | id from create_project or list_projects | |
| ground_plane | No | ||
| corner_radius | No |