Dea DardanicaDocumentation
Background watchesRead Markdown

watch_page

Watch a page for a change instead of checking back yourself: polls url (reloading it) on its own hidden background tab — it never takes over what you're looking at — and compares the visible text (or, with selector, just that one element's text) against the last check. The moment it differs, a kind:"watch" event fires (park on it with wait_for_event or see it in get_events) and the human gets a desktop notification. Good for a restock, a price drop, a ticket going on sale, a new reply — anything where the honest move is 'tell me when it changes' rather than reloading in a loop yourself. interval_ms floors at 15000 (this polls, it doesn't scrape at speed) and defaults to 60000. Returns an id for list_watches/stop_watch. Max 10 concurrent watches.

Example#

Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.

json
{
  "url": "https://example.com",
  "interval_ms": 60000
}

Usage notes#

The app must stay running and awake. Default interval is 60 seconds, floored at 15 seconds. A watch is not restored as a durable scheduled job after quitting.

Result#

Creates a hidden polling tab and returns a watch ID. Changes can trigger a desktop notification.

Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.

Parameters#

watch_page — table 1
ParameterTypeRequiredDescription
urlstringYesSee usage and full schema below.
selectorstringNoWatch just this element's text instead of the whole page
interval_msnumberNoPoll interval, floors at 15000, default 60000
notifystringNoCustom desktop-notification text on change (default: "<url> changed")
tabstringNoTab name or id in your workspace; does not change the visible tab. minLength: 1

Full input schema#

The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "selector": {
      "description": "Watch just this element's text instead of the whole page",
      "type": "string"
    },
    "interval_ms": {
      "description": "Poll interval, floors at 15000, default 60000",
      "type": "number"
    },
    "notify": {
      "description": "Custom desktop-notification text on change (default: \"<url> changed\")",
      "type": "string"
    },
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

Reference conventions · Agent operating guide · Troubleshooting