Place schematic component
easyeda_schematic_place_componentPlace a searched schematic device at exact X/Y coordinates with rotation, mirroring, collision checks, BOM/PCB inclusion, and optional transaction rollback to prevent unsafe edits.
Instructions
Place device from schematic_search_device (project-local IDs invalid). For multi-unit parts provide exact subPartName + shared designator and uniqueId; native readback checks linkage. On timeout inspect before retry. projectId + transactionId enables rollback; without transactionId the write 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": {
"deviceItem": "<deviceItem>",
"x": "<x>",
"y": "<y>",
"confirmWrite": "<confirmWrite>"
},
"name": "easyeda_schematic_place_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| dryRun | No | ||
| mirror | No | ||
| rotation | No | ||
| uniqueId | No | Shared native physical identity for units of one component. | |
| projectId | No | Required when transactionId is supplied; must match the transaction document. | |
| addIntoBom | No | ||
| addIntoPcb | No | ||
| designator | No | Shared reference for units of one physical component. | |
| deviceItem | Yes | ||
| subPartName | No | Exact native device unit name. Requires matching designator and uniqueId for all units. | |
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| transactionId | No | Optional snapshot-backed project transaction ID. | |
| collisionRadius | No | ||
| expectedPcbUuid | No | Expected focused PCB document UUID; reject a different focused PCB before a write. | |
| verifyAfterWrite | No | ||
| checkPlacementCollision | No | ||
| expectedSchematicPageUuid | No | Expected focused schematic page UUID; reject a different focused page before a write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||