suggest_reroute
Suggests routing paths for disconnected nets in KiCad PCB files by running an A* pathfinder and returning track segments as S-expressions for operator review.
Instructions
Suggest routing paths for disconnected nets after rip-up.
Runs an A* pathfinder on the server and returns suggested track segments as KiCad S-expressions for operator review.
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": {
"file_path": "<file_path>",
"nets": "<nets>"
},
"name": "suggest_reroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .kicad_pcb file | |
| nets | Yes | List of net names to route | |
| grid_step | No | Routing grid resolution in mm (default 0.25) | |
| layer | No | Copper layer to route on (default "F.Cu") | F.Cu |
| width | No | Track width in mm (default 0.25) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||