memory_check_freshness
Check if saved memories are stale when git-tracked code changes. Compare saved commit SHA against current HEAD using local diff, return up to 3 outdated memories for review and refresh.
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) |