diff_crawl
Compare the latest documentation crawl against a previous or since-defined baseline to return added, removed, and changed pages using hash-based history verdicts.
Instructions
Return added/removed/changed pages between the latest crawl and a baseline crawl: the crawl before it by default, or with since, the most recent crawl whose crawl_ended_at <= since. Hash-based verdicts from the SQLite history index. To see what a crawl changed, run crawl_site, wait for it to finish, then call diff_crawl without since.
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": {
"site_key": "<site_key>"
},
"name": "diff_crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | RFC3339 timestamp; the most recent crawl whose crawl_ended_at <= since, compared to the second, is the baseline (e.g. 2026-05-23T22:00:00Z). Omit to compare with the previous crawl. | |
| offset | No | Pagination offset, 0-based | |
| site_key | Yes | Site key from config | |
| max_results | No | Maximum diff entries to return (default: 100, max: 1000; larger values are capped, 0 means the default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the diff is empty or partial, when it is | |
| added | Yes | ||
| since | No | Present when since was given | |
| total | Yes | ||
| offset | Yes | ||
| changed | Yes | ||
| removed | Yes | ||
| returned | Yes | ||
| site_key | Yes | ||
| max_results | Yes | ||
| current_crawl | No | ||
| baseline_crawl | No | ||
| unchanged_count | Yes |