kicad_ctrl_execute_ripup
Remove specified net tracks and vias from a KiCad PCB file, returning a unified diff for review or applying it directly.
Instructions
Station 3: Execute rip-up — remove tracks and return a diff.
The API removes the tracks/vias and returns a unified diff. If apply_diff is True, the diff is applied to the local .kicad_pcb file. Otherwise, the diff is returned for review.
IMPORTANT: After applying, open the PCB in KiCad for manual rerouting.
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_names": "<net_names>"
},
"name": "kicad_ctrl_execute_ripup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to .kicad_pro, .kicad_pcb, or project directory | |
| net_names | Yes | Net names to rip up | |
| apply_diff | No | If True, apply the diff to the local file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||