Align Components
align_componentsAlign multiple PCB components horizontally, vertically, or on a grid, with optional spacing to achieve precise layout.
Instructions
Align multiple PCB components horizontally, vertically or on a grid with optional spacing.
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": {
"references": "<references>",
"alignmentType": "<alignmentType>"
},
"name": "align_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spacing | No | Spacing between components in mm | |
| references | Yes | Array of component references to align | |
| alignmentType | Yes | Type of alignment | |
| referenceComponent | No | Reference component for alignment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |