set_trace_width
Adjust selected trace widths in DipTrace to imported DRC minimums. Preview changes with dry_run, verify hash, then commit safely using millimeter units.
Instructions
Set selected trace segment widths with exported DRC minimum checks. 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": {
"selector": "<selector>",
"width": "<width>"
},
"name": "set_trace_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| txid | No | ||
| width | Yes | ||
| dry_run | No | ||
| selector | Yes | ||
| expected_sha256 | No | ||
| segment_indices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||