Routing plan analysis
pcb_route_planAnalyse a PCB before routing to get board rules, net details, pours, keep-outs, congestion hot spots, and an editable plan for guided routing.
Instructions
Analyse the board for routing (read-only) and return what you need to write a plan for pcb_route_guided: board and
rules, a net table (kind, pads, unrouted, class), pours, keep-outs, a congestion map with hot spots, and
suggested_plan (the built-in heuristics as an editable plan) with plan_schema. Skip it to route with defaults.
heatmap=true attaches the congestion picture. ripup='all' analyses as if all unlocked tracks were removed.
Example: pcb_route_plan() -> edit suggested_plan -> pcb_route_guided(plan=...)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pcb_route_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | No | Only list these nets in the table (names or globs, e.g. ['/USB*','VBUS']) | |
| ripup | No | none (default) = as the board is; all = as if all unlocked tracks were ripped up | |
| heatmap | No | Attach the congestion heat-map PNG (default true) | |
| project | No | project path (default: active) |