set_component_property
Set or create any property on a placed component in a KiCad schematic, such as MPN or Tolerance.
Instructions
Set any property on a placed component. Creates it if missing.
Args:
reference: Component reference (e.g. "R1")
key: Property name (e.g. "MPN", "Tolerance", "Value")
value: Property value
schematic_path: Path to .kicad_sch file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| key | Yes | ||
| value | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |