add_via
Add a confirmed via to an existing trace segment at specified coordinates. Preview the result with dry_run, then finalize after verifying the change.
Instructions
Add a verified ViaStyle trace point on an existing segment. All distances are in millimetres, regardless of the document's own Units attribute. 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": {
"trace_id": "<trace_id>",
"x": "<x>",
"y": "<y>",
"via_style": "<via_style>"
},
"name": "add_via"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| path | No | ||
| txid | No | ||
| dry_run | No | ||
| trace_id | Yes | ||
| via_style | Yes | ||
| layer_after | No | ||
| layer_before | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||