update_component
Modify one or more properties of an existing component in a KiCad schematic. Provide the reference designator and only the properties to change (value, position, rotation, footprint).
Instructions
Update component properties.
Updates one or more properties of an existing component. Only provided parameters will be updated.
Args: reference: Component reference designator to update (e.g., "R1") value: New component value (if provided) position: New position as (x, y) tuple in mm (if provided) rotation: New rotation in degrees (0, 90, 180, or 270) (if provided) footprint: New footprint identifier (if provided) ctx: MCP context for progress reporting (optional)
Returns: ComponentInfoOutput with updated component information, or ErrorOutput on failure
Examples: >>> # Update value only >>> result = await update_component("R1", value="20k")
>>> # Update multiple properties
>>> result = await update_component(
... "R1",
... value="20k",
... footprint="Resistor_SMD:R_0805_2012Metric",
... rotation=90.0
... )Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| position | No | ||
| rotation | No | ||
| footprint | No | ||
| reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |