set_board_outline
Replace a LibrePCB board outline with a custom polygon from vertex coordinates or an origin-anchored width-by-height rectangle.
Instructions
Replace the board outline with a polygon or a width x height rectangle at the origin.
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_path": "<project_path>"
},
"name": "set_board_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | No | Board name, UUID or index; default: first | |
| points | No | Polygon vertices [[x_mm, y_mm], ...]; closed automatically | |
| width_mm | No | Rectangle from (0,0) if no points | |
| height_mm | No | ||
| project_path | Yes | Path to the project's *.lpp file or its directory |