set_props
Set or add literal properties on a PCB part—such as placement coordinates, rotation, resistance, footprint, label offsets, no-connect pins, and supplier part numbers—and use null to remove them.
Instructions
Set literal props of a part (pcbX, pcbY, pcbRotation, schX, resistance, footprint, …); missing props are added. schNameAt, schValueAt and pcbNameAt are label offsets { x, y }; noConnect: "pin3,pin10" flags pins meant to stay open; supplierPartNumbers: "jlcpcb:C25804". null removes these.
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": {
"file": "<file>",
"part": "<part>",
"props": "<props>"
},
"name": "set_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Circuit file | |
| part | Yes | Part name, e.g. R1 | |
| props | Yes | e.g. { "pcbX": 4, "resistance": "10k" } |