Live Freshness Proof
freshness_proofWe read the URL now (robots.txt obeyed) and return FRESH, STALE_CACHE or CACHE_AGE_UNKNOWN from the Age and cache headers, whether the body changed since the pin you hold (body sha256 first, then ETag, then Last-Modified), and a new pin with valid_until.
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": "freshness_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL to read. Also accepted as: link, uri, href, page, website, site, address. | |
| prior | No | The pin you already hold: { sha256?, etag?, last_modified? }. | |
| max_cache_age_s | No | Oldest cached copy you accept, in seconds (default 300). |