Discard Or Reload
discard_or_reloadDiscard unsaved PCB changes and reload the current board from disk, or specify a different .kicad_pcb file to load.
Instructions
Discard the current in-memory PCB state and reload the board from disk.
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": "discard_or_reload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardPath | No | Optional .kicad_pcb path; defaults to current board |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |