Place Component
place_componentPlace a footprint component on a PCB at specified coordinates, with optional settings for reference, value, footprint, rotation, and layer. Automates component placement in KiCAD PCB design.
Instructions
Place a footprint component onto the PCB at the specified position. Optionally set reference, value, footprint, rotation and layer.
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": {
"componentId": "<componentId>",
"position": "<position>"
},
"name": "place_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Optional layer (e.g., 'F.Cu', 'B.SilkS') | |
| value | No | Optional component value (e.g., '10k') | |
| position | Yes | Position coordinates and unit | |
| rotation | No | Optional rotation in degrees | |
| boardPath | No | Path to the .kicad_pcb file – required when using project-local footprint libraries | |
| footprint | No | Optional specific footprint name | |
| reference | No | Optional desired reference (e.g., 'R5') | |
| componentId | Yes | Identifier for the component to place (e.g., 'R_0603_10k') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |