Check Evidence Freshness
is_evidence_freshChecks whether typed attestation evidence remains fresh by evaluating rotating TTLs, optional snapshot max age, and always-fresh static evidence.
Instructions
Check whether typed attestation evidence is still fresh. Rotating evidence requires a ttl, snapshot evidence takes an optional maxAge, and static evidence is always fresh.
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": {
"type": "<type>",
"valid_at": "<valid_at>"
},
"name": "is_evidence_fresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ISO 8601 override for current time | |
| ttl | No | Seconds (required for rotating) | |
| type | Yes | ||
| max_age | No | Seconds (optional for snapshot) | |
| valid_at | Yes | ISO 8601 timestamp evidence was produced |