Kicad Pcb Add Footprint
kicad_pcb_add_footprintAdd a footprint to a PCB by library ID at a set position, layer, and rotation, and assign its reference and value for schematic-driven layout.
Instructions
Add a footprint to a PCB by library id (e.g. 'Resistor_SMD:R_0603_1608Metric').
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": {
"path": "<path>",
"lib_id": "<lib_id>",
"reference": "<reference>"
},
"name": "kicad_pcb_add_footprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| path | Yes | ||
| layer | No | F.Cu | |
| value | No | ||
| lib_id | Yes | ||
| rotation | No | ||
| reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |