lib_device_copy
Copies a library device from a source library to a target library and returns the new device UUID. Use it to duplicate devices across EasyEDA libraries while choosing an optional new name.
Instructions
Copy a library device from one library to another. Returns the new device UUID. Whether the device's symbol/footprint are deep-copied or referenced cross-library is yet to be confirmed empirically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceUuid | Yes | Source device UUID | |
| instance_id | No | Target EasyEDA instance ID (8-char hex). Required when multiple instances are connected. Omit when only one instance is connected (auto-selected). Use list_instances to see connected instances. | |
| libraryUuid | Yes | Source library UUID | |
| newDeviceName | No | Name for the copy (defaults to source name; collisions fail) | |
| targetLibraryUuid | Yes | Destination library UUID |