add_via
Add a via to a KiCad PCB at specified coordinates with customizable diameter, drill size, net, and type.
Instructions
Add a via to the board.
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": {
"x_mm": "<x_mm>",
"y_mm": "<y_mm>"
},
"name": "add_via"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | Yes | ||
| y_mm | Yes | ||
| locked | No | ||
| drill_mm | No | ||
| net_name | No | ||
| via_type | No | through | |
| diameter_mm | No |