package_for_jlcpcb
Generate JLCPCB-ready manufacturing files from a KiCad PCB: export gerbers, drill, position, and BOM, rename to Protel formats, and zip them into a single archive.
Instructions
Run all kicad-cli manufacturing exports on the active project's .kicad_pcb (gerbers, drill, position, BOM), rename gerbers to Protel extensions, drill to .XLN, and zip everything into a JLCPCB-ready manufacturing/jlcpcb--.zip. Requires that placement and routing are already done in KiCad — this is the terminal tool in the workflow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "package_for_jlcpcb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No | Optional .kicad_pcb path. Defaults to the active project's .kicad_pcb. | |
| output_zip | No | Optional output zip path. Defaults to <project>/manufacturing/jlcpcb-<name>-<date>.zip. |