legalize_component_placement
Fixes component placement violations by repositioning parts to meet grid, spacing, and board edge clearance rules.
Instructions
Preset: plan_component_placement. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs.
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": {
"selector": "<selector>"
},
"name": "legalize_component_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| path | No | ||
| spacing | No | ||
| selector | Yes | ||
| search_steps | No | ||
| time_budget_ms | No | ||
| board_edge_clearance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||