Record the workspace as it is now
checkpointRecords an independent workspace snapshot before an agent starts work, capturing file paths, sizes, modification times, SHA-256 hashes, and git state, then returns an ID for later comparison.
Instructions
Takes an independent record of the workspace before an agent starts work: every file path, size, modification time and SHA-256, plus the git HEAD, branch and working-tree status read from the repository. Returns a checkpoint id. Call this first. Nothing here comes from the agent.
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": {
"root": "<root>"
},
"name": "checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Absolute path to the workspace to observe. Use the project root the agent is working in. | |
| label | No | A short name for this checkpoint, such as the task it precedes. | |
| ignore | No | Extra directory names to skip, matched on a single path segment. | |
| maxFiles | No | Stop the walk after this many files. Default 50000. | |
| maxFileBytes | No | Do not hash files larger than this. Default 8388608. | |
| noDefaultIgnores | No | Also scan .git, node_modules and .murphy. Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git | Yes | ||
| root | Yes | ||
| ignored | Yes | ||
| takenAt | Yes | ||
| fileCount | Yes | ||
| truncated | Yes | ||
| checkpointId | Yes | ||
| truncatedReason | No |