submit_route_job
Submit a placed KiCad .kicad_pcb to Fastroute. Requires Authorization: Bearer fr_... (create a free account at https://pcbgen.ai/route/app/). Free Queue ($0, 1 core, up to 120s) unlocks full .kicad_pcb + Gerbers automatically when done. With Priority Credits, choose cores (1 or 4 for parallel p4 portfolio) and time_limit_s (15..14400s, up to 4 hr); billed per second at $0.05/core-min ($0.05 minimum per run; 50% off on $100 pack, 75% off on $200 pack; early exit stops the clock at 0 opens). Acceptable use (https://pcbgen.ai/terms.md): outputs are licensed for designing/manufacturing your own PCBs only; do not use pcbgen.ai or its outputs to build, train, or improve a competing PCB autorouter.
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": {
"board_kicad_pcb": "<board_kicad_pcb>"
},
"name": "submit_route_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lane | No | auto uses Priority if Bearer key has credits (or cores=4 / >120s), else Free Queue. | auto |
| seed | No | Optional deterministic router seed. | |
| cores | No | 1 core (Free or Priority) or 4 cores (--portfolio p4, Priority only). | |
| filename | No | board.kicad_pcb | |
| time_limit_s | No | Max routing seconds: 15..120 on Free Queue, 15..14400 (up to 4 hr) on Priority Credits. | |
| vias_in_pads | No | ||
| keep_existing | No | ||
| strip_existing | No | ||
| board_kicad_pcb | Yes | UTF-8 contents of .kicad_pcb. | |
| rules_kicad_dru | No | Optional UTF-8 contents of .kicad_dru. | |
| project_kicad_pro | No | Optional UTF-8 contents of .kicad_pro. |