export_gerbers
Export Gerber files for the open PCB to a specified directory, with optional layer selection and saving the board first.
Instructions
Export Gerber files for the open PCB into a directory.
Args: output_dir: Destination directory (created if needed). layers: Optional comma-separated layer list, e.g. 'F.Cu,B.Cu,Edge.Cuts'. Empty exports all enabled plottable layers. save_first: Save the board before exporting.
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": {
"output_dir": "<output_dir>"
},
"name": "export_gerbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | ||
| output_dir | Yes | ||
| save_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||