checkpoint
Create a checkpoint before modifying, deleting, or creating files to enable undo functionality. Ensures safe file operations by saving states prior to changes.
Instructions
MANDATORY: ALWAYS call this function FIRST before making ANY file modifications, deletions, or creations. This creates a checkpoint to enable undo functionality. This must be called before every single file operation - no exceptions. Never modify files without calling checkpoint first.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Concise, action-focused description of the next specific change to be made | Manual checkpoint |
files | Yes | Array of file paths that will be modified, created, or deleted |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"default": "Manual checkpoint",
"description": "Concise, action-focused description of the next specific change to be made",
"type": "string"
},
"files": {
"description": "Array of file paths that will be modified, created, or deleted",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"files"
],
"type": "object"
}