move_component
Relocate, rotate, or flip a PCB footprint in the open board by setting absolute coordinates, relative offsets, or rotation angles, with single-undo support.
Instructions
Move/rotate/flip one footprint in the open board (one undo step). x/y set an absolute position in mm; dx/dy nudge relative to it; rotation sets degrees, rotate_by adds; flip moves it to the other side.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "move_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| dx | No | ||
| dy | No | ||
| ref | No | ||
| flip | No | ||
| path | No | ||
| rotation | No | ||
| rotate_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |