setup_pcb_layout
Creates a new PCB layout from a schematic by setting specified dimensions, default grid, layers, and design rules. Simplifies the initial PCB setup process.
Instructions
Initialize PCB layout with specified dimensions.
Creates a .kicad_pcb file with the specified size based on the schematic. The PCB will be initialized with:
Specified dimensions
Default grid settings
Default layers
Standard design rules
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": {
"schematic_path": "<schematic_path>"
},
"name": "setup_pcb_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | Yes | Path to .kicad_sch file | |
| width | No | PCB width in specified unit | |
| height | No | PCB height in specified unit | |
| unit | No | Unit for dimensions (mm or mil) | mm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |