create_via
Adds a through-hole via (top-to-bottom copper) on a specified net and returns a 'via:' endpoint for connecting traces.
Instructions
Add a through-hole via (top to bottom copper) on a net. Connect it with create_trace using the returned 'via:' endpoint.
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": {
"project_path": "<project_path>",
"net": "<net>",
"x_mm": "<x_mm>",
"y_mm": "<y_mm>"
},
"name": "create_via"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | Net name or UUID | |
| x_mm | Yes | ||
| y_mm | Yes | ||
| board | No | Board name, UUID or index; default: first | |
| size_mm | No | Outer diameter; default drill+0.4 | |
| drill_mm | No | default: board default | |
| project_path | Yes | Path to the project's *.lpp file or its directory |