set_component_side
Relocate selected PCB components to the top or bottom side in DipTrace. Preview with dry-run to verify changes, then commit using the expected SHA-256.
Instructions
Move selected PCB components to the top or bottom side. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. dry_run=true previews without writing. Set dry_run=false only after inspecting the preview and pass its expected_sha256.
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": {
"side": "<side>"
},
"name": "set_component_side"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| side | Yes | ||
| txid | No | ||
| dry_run | No | ||
| selector | No | ||
| allow_locked | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||