Check Checkpoint Freshness
guardCheck if project state changed since the last checkpoint. Use before finishing a task to detect uncheckpointed work, then checkpoint if stale.
Instructions
Check whether project state changed since the last checkpoint. Use before finishing a task to detect uncheckpointed work, then checkpoint if stale. This operation is read-only and idempotent, does not modify memory or task state, and performs no network access.
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": "guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when project state is consistent with the last checkpoint. | |
| fingerprint | No | Fingerprint representing the current project state used by the guard check. | |
| changed_files | No | Project files detected as changed since the checkpoint baseline. |