place_component
Place a schematic symbol such as a resistor, capacitor, or IC by specifying its library ID, reference designator, value, and position. Supports rotation and mirroring for precise layout.
Instructions
Place a schematic symbol: resistor, capacitor, inductor, diode, LED, transistor, crystal, switch, connector, or an IC such as a microcontroller or regulator chip. Any lib_id in a library works.
Args:
lib_id: Library identifier (e.g. "Device:R", "Device:C", "MyLib:MyPart")
reference: Reference designator (e.g. "R1", "U1")
value: Component value (e.g. "10K", "100nF")
x: X position in schematic units (mm)
y: Y position in schematic units (mm)
rotation: Rotation angle in degrees (0, 90, 180, 270)
symbol_lib_path: Path to .kicad_sym file if using custom library.
Optional; omit to use the configured default.
mirror: Mirror axis ("x", "y", or "" for none)
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
project_path: Path to .kicad_pro file (for correct hierarchy resolution in sub-sheets)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| value | Yes | ||
| lib_id | Yes | ||
| mirror | No | ||
| rotation | No | ||
| reference | Yes | ||
| project_path | No | ||
| schematic_path | No | ||
| symbol_lib_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |