route_net
Connects all unconnected pads of a net with straight traces using a shortest spanning tree on a chosen copper layer. Run DRC afterward to fix routing violations.
Instructions
Connect all not-yet-connected pads of a net with straight traces (shortest spanning tree). NOT an autorouter: no obstacle avoidance. Run run_drc afterwards and fix violations by moving parts or using create_trace with waypoints.
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>"
},
"name": "route_net"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | Net name or UUID | |
| board | No | Board name, UUID or index; default: first | |
| layer | No | Copper layer: top_cu, bot_cu, or in1_cu... (inner) | top_cu |
| width_mm | No | default: board default | |
| project_path | Yes | Path to the project's *.lpp file or its directory |