lightning.checkpoint
Save, load, or list PyTorch Lightning model checkpoints via a structured API.
Instructions
Manage model checkpoints: save, load, or list.
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": "lightning.checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Checkpoint file path (for save/load). | |
| model | No | Model configuration (for save/load). | |
| action | Yes | Action to perform. | |
| directory | No | Directory to list checkpoints from. |