move_components
Move multiple PCB footprints in a single undo step by providing a JSON list of moves with each component's reference and optional position, offset, rotation, or flip settings.
Instructions
Move several footprints as one undo step. moves is a JSON list of objects with keys
ref (required) and any of x, y, dx, dy, rotation, rotate_by, flip, locked. Example:
[{"ref":"C1","x":120.5,"y":44,"rotation":90},{"ref":"R2","dx":-1.27}]
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_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| moves | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |