sch_delete_component
Delete schematic components by primitive ID. The document is snapshotted for recovery, with the backup SHA returned in the response.
Instructions
Delete one or more schematic components by their primitive IDs. Irreversible via this API: there is no undo call. The whole document is snapshotted to the local backup repo first; the response includes the backup SHA for recovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Single primitive ID or array of primitive IDs to delete | |
| document | Yes | Target document UUID — auto-switches to this document before executing. Get UUIDs from list_instances or editor_get_open_tabs. | |
| 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. |