memory_check_freshness
Detect stale project memories linked to git-tracked code by comparing saved commit SHAs with current HEAD using a local git diff, then review and refresh up to three affected memories.
Instructions
Check whether memories linked to git-tracked code (via related_paths on memory_ingest) are stale because the underlying code changed since they were saved. Compares each candidate's saved commit SHA against the current HEAD with a local git diff — no data leaves your machine for the diff itself. Returns up to 3 memories whose related files changed, so you can review and refresh them. Call this periodically or when you suspect saved context might be out of date.
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": "memory_check_freshness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | No | Space UUID (uses default if not specified) |