export_gerbers
Exports PCB fabrication data as Gerber X2 layers and Excellon PTH/NPTH drill files into a project output directory for manufacturing.
Instructions
Export PCB fabrication data: Gerber X2 layers (copper, mask, silkscreen, paste, outline) AND Excellon drill files (PTH/NPTH), into gerber//.
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": "export_gerbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | No | Board name, UUID or index; default: first | |
| output_dir | No | Output directory inside a configured root; default: <project>/output/mcp | |
| project_path | Yes | Path to the project's *.lpp file or its directory |