fit_board
Define a PCB board area from parts, dimensions, or an outline, set 2 or 4 copper layers, and identify any components left outside.
Instructions
Set the board as ONE change: by default a rectangle round the parts plus margin; or width and height (centred on x, y), or an outline; layers: 2 or 4 copper layers. The answer names parts left outside.
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": {
"file": "<file>"
},
"name": "fit_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Centre; default the board's | |
| y | No | ||
| file | Yes | Circuit file | |
| width | No | mm, with height: this rectangle | |
| height | No | ||
| layers | No | ||
| margin | No | mm; default 2 | |
| outline | No | Corners in mm |