Make PCB Layout
make_pcb_layoutGenerate PCB component placement from a JavaScript DSL file, returning PNG/SVG previews without altering the original PCB file.
Instructions
Create placement without changing the PCB and return PNG/SVG preview paths. PCB instructions: /app/docs/pcb-layout/instructions.md
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": {
"path": "<path>",
"file": "<file>"
},
"name": "make_pcb_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | JavaScript PCB layout DSL file path. | |
| path | Yes | Target .kicad_pcb path. | |
| wait_ms | No |