Delete schematic primitives
easyeda_schematic_delete_primitiveDelete schematic primitives by UUID, optionally with transaction-backed rollback, and verify persistence by reopening the project to confirm removal.
Instructions
Delete primitives by UUID. Single text deletion is supported only on EasyEDA Pro 4.1.105; unknown versions and mixed batches fail closed. Native success does not prove persistence: cold reopen to verify. Use projectId + transactionId for rollback-backed deletion. Without transactionId, deletion is standalone.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"primitiveIds": "<primitiveIds>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_delete_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Required when transactionId is supplied; must match the transaction document. | |
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| primitiveIds | Yes | ||
| transactionId | No | Optional snapshot-backed project transaction ID. | |
| expectedPcbUuid | No | Expected focused PCB document UUID; reject a different focused PCB before a write. | |
| expectedSchematicPageUuid | No | Expected focused schematic page UUID; reject a different focused page before a write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||