Checkpoints
checkpointCreate, list, diff, and restore snapshots of KiCad project design files in .copper/snapshots, enabling change comparison and safe rollback before edits or risky changes.
Instructions
Snapshot / list / diff / restore the project's design files (.kicad_sch, .kicad_pcb, .kicad_pro, rules, lib tables) in .copper/snapshots. action: 'create' (label optional) · 'list' · 'diff' (id optional, default newest: what changed since) · 'restore' (id required; snapshots the current state first, refuses if the file is open in KiCad). Mutating tools snapshot by themselves before they write. Example: checkpoint(action='diff')
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": {
"action": "<action>"
},
"name": "checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| label | No | ||
| action | Yes | ||
| project | No | project path (default: active) |