Modify schematic primitive
easyeda_schematic_modify_primitiveModify a schematic primitive while preserving omitted fields, with optional transaction snapshots and fail-closed checks for connected or unverified component moves.
Instructions
Modify a schematic primitive while preserving omitted fields. With transactionId and projectId, snapshot and restore after failed writes/read-back. Connected or unverified component moves fail closed before mutation.
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": {
"primitiveId": "<primitiveId>",
"property": "<property>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_modify_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | ||
| projectId | No | Required when transactionId is supplied; must match the transaction document. | |
| primitiveId | Yes | ||
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| 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 | |||