lib_symbol_update_document_source
Replace a library symbol's entire .esym source in EasyEDA; no undo or backup is taken, so fetch and save the current source first if you may need to restore it. Returns boolean success.
Instructions
Replace a library symbol's entire .esym source. IRREVERSIBLE: no undo, and no backup snapshot is taken (library assets are not documents). Fetch and save the current source with lib_symbol_get first if you may need to restore it. The symbol must live in a library you can write to (personal/team/project). Returns boolean success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbolUuid | Yes | Symbol 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 | Library UUID containing the symbol | |
| documentSource | Yes | New .esym source (NDJSON, same format as document_get_source) |