plan_component_placement
Plan the placement of components on a PCB layout, specifying grid, spacing, and rotation options to optimize the arrangement.
Instructions
Create a validated deterministic local component-placement plan. 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": "plan_component_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | ||
| path | No | ||
| region | No | ||
| spacing | No | ||
| weights | No | ||
| selector | Yes | ||
| search_steps | No | ||
| allowed_sides | No | ||
| time_budget_ms | No | ||
| respect_keepouts | No | ||
| allowed_rotations | No | ||
| deterministic_seed | No | ||
| board_edge_clearance | No | ||
| max_candidates_per_component | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||