Check memory freshness
validate_memoryValidate one source manifest hash and report stale/conflicting memories.
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": "validate_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope filter | |
| source_id | No | Identifier of the source entity being validated | |
| workspace | No | Workspace to inspect memories within | default |
| current_source_hash | No | Fresh cryptographic hash of the current source content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checked | Yes | Number of memories evaluated | |
| source_id | Yes | Source identifier that was validated | |
| stale_ids | No | List of memory IDs whose hash differs from current | |
| tenant_id | No | Tenant identifier | |
| workspace | Yes | Target workspace name | |
| api_version | No | API version of the memory server | |
| stale_count | Yes | Total count of stale memories | |
| conflict_ids | No | List of memory IDs with fact conflicts | |
| conflict_count | Yes | Total count of conflicting memories | |
| current_source_hash | Yes | Current expected content hash |