pcb_align_components
Aligns multiple PCB components along a shared edge or center to straighten placement and organize board layout.
Instructions
Align multiple PCB components along a common edge or center.
Args: designators: Comma-separated component reference designators (e.g., "R1,R2,R3,R4") alignment: Alignment mode. Options: "left" - Align to leftmost X "right" - Align to rightmost X "top" - Align to topmost Y "bottom" - Align to bottommost Y "center_x" - Center horizontally "center_y" - Center vertically
Returns: Dictionary with alignment result and component count
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": {
"designators": "<designators>"
},
"name": "pcb_align_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | left | |
| designators | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||