Watch a page
watch_pageStart watching a page: one place on it (give the selector from preview_page) or the whole page (no selector). A JSON field is a place like any other; a feed watched whole is told by its new entries. Zetlyn checks it every hour (with a subscription as often as every minute, see every_minutes) and notifies the account when it changes.
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": "watch_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page's address. | |
| selector | No | The selector of the place to watch, from preview_page. Leave out to watch the whole page. | |
| notify_when | No | Tell the person only when the value comes to meet this, not on every change: {"below": 400} or {"above": 1000} (the amount of money in the place, a number beside €, $, EUR and the like, else its first number; needs a selector; a place showing two different amounts is refused, mark a narrower one), {"contains": "In stock"} or {"not_contains": "Sold out"} (case does not matter). Told once when it comes true, again only after it stopped being true. Leave out to be told of every change. | |
| confirm_cost | No | Only when the person agreed: a watch beyond the 10 in the subscription costs 0.50 € a month more. Without it such a watch is refused with the price, to ask them first. | |
| every_minutes | No | How often to check, in minutes. 60 if left out; 15, 5 and 1 need a subscription. |