render_layers
Render a 2D plot of selected PCB layers fitted to the board, returning an SVG path (and PNG on macOS) for quick visualization.
Instructions
2D plot of chosen layers (comma-separated, e.g. "F.Cu,F.Silkscreen,Edge.Cuts") fitted to the board. Returns the SVG path and, on macOS, a PNG path you can view. mirror=true for looking at the bottom.
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": "render_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| layers | No | F.Cu,Edge.Cuts | |
| mirror | No | ||
| output | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |