Prepare Schematic Component Mutation
easyeda_prepare_schematic_componentPrepare create, move, update, or delete actions for schematic components with preview and ID/designator resolution, then require a confirmation phrase before any change is applied.
Instructions
Prepares a create, move, update, or delete operation on a schematic component with full preview, ID/designator resolution, and exact confirmation phrase. Does not modify the schematic until confirmed via easyeda_confirmed_action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate for placement or absolute move | |
| y | No | Y coordinate for placement or absolute move | |
| dx | No | Relative delta X for move | |
| dy | No | Relative delta Y for move | |
| value | No | Component value (e.g. '10k', '100nF') | |
| action | Yes | Component mutation action to perform | |
| device | No | Device name, LCSC code, or device query to create (e.g. '10k 0603', 'C1523', 'ESP32') | |
| mirror | No | Mirror state | |
| target | No | Expected active schematic target to guard against drift | |
| rotation | No | Rotation angle in degrees (0, 90, 180, 270) | |
| component | No | Primitive ID or designator (e.g. 'R1', 'U2') for move, update, or delete | |
| footprint | No | Footprint package name (e.g. '0603', 'SOIC-8') | |
| timeoutMs | No | ||
| addIntoBom | No | Whether to include in BOM | |
| addIntoPcb | No | Whether to forward to PCB | |
| designator | No | Designator to assign or update (e.g. 'R10') | |
| properties | No | Key-value properties to update (designator, value, footprint, rotation, mirror, etc.) | |
| subPartName | No | Sub-part name for multi-part components |