page_diff
Detect changes on a web page by comparing current normalized text or SHA-256 hash with previous values, then return a changed flag and added/removed lines.
Instructions
Monitor a page for changes: returns normalized text + SHA-256 content_hash; pass previous_text (or previous_hash) from an earlier call to get changed flag and added/removed lines.
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>"
},
"name": "page_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| selector | No | Optional #id to limit to one element | |
| previous_hash | No | ||
| previous_text | No |