duplicate_footprint
Duplicate a placed footprint by assigning a new reference and optionally setting an absolute or offset position in mm.
Instructions
Copy a placed footprint to a new reference + position (KiCad 9 IPC cannot place from a library, so cloning an on-board part is the supported 'add a part'). Give x_mm/y_mm for an absolute spot, else it offsets.
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": {
"reference": "<reference>",
"new_reference": "<new_reference>"
},
"name": "duplicate_footprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | No | ||
| y_mm | No | ||
| reference | Yes | ||
| new_reference | Yes |