Set the board outline
set_board_outlineReplace everything on Edge.Cuts with a new outline: rect (optionally with corner_radius_mm), a polygon of points, or fit_to_parts (the rectangle around every footprint courtyard plus margin_mm). Give exactly one.
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": {
"design_id": "<design_id>"
},
"name": "set_board_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | ||
| wait_s | No | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. | |
| polygon | No | ||
| design_id | Yes | The design id returned by import_kicad_project or list_designs. | |
| fit_to_parts | No | ||
| line_width_mm | No |