diff
Compare current webpage content against previous snapshots to detect changes, automatically handling bot protection with cloud fallback.
Instructions
Compare the current content of a URL against a previous extraction snapshot, showing what changed. Automatically falls back to the webclaw cloud API when bot protection is detected.
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": {
"url": "<url>",
"previous_snapshot": "<previous_snapshot>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previous_snapshot | Yes | Previous extraction snapshot as a JSON string (ExtractionResult) | |
| url | Yes | URL to fetch current content from |