pcb_summary
Summarizes the open KiCad PCB board via live API, including title block, layer count, outline size, item counts, stackup, and netclass rules.
Instructions
Describe the board open in KiCad's PCB Editor through the live API: title block, copper layer count, enabled layers, outline size, item counts, stackup and netclass rules. Needs KiCad running with the API enabled and the board open; kicad_doctor explains if it is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_path | No | Which open board, as a .kicad_pcb path. Omit to use the one board open in the PCB Editor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | x_mm, y_mm, width_mm, height_mm of the outline. | |
| notes | No | ||
| counts | Yes | ||
| project | Yes | ||
| stackup | Yes | ||
| board_path | Yes | ||
| netclasses | Yes | ||
| title_block | Yes | ||
| enabled_layers | Yes | ||
| outline_source | Yes | ||
| copper_layer_count | Yes |