web_schedule
Schedule recurring web page or sitemap monitoring tasks, set check intervals, and send webhook notifications when changes are detected.
Instructions
管理定时监控任务:按间隔执行 web_watch / web_index,变更后推送 webhook。
任务本身不抓取,只记录"盯什么、多久一次、变化后通知谁";实际执行由本机
scrape-mcp schedule daemon 完成(也可用 action=run 手动跑一次)。
首次执行只建立基线,不算变更、不发通知;暂停的任务保留状态但不再被 daemon 执行。
同 kind + url + selector 只有一条任务,重复 create 视为更新间隔与通知地址。
Args: action: list / get / create / pause / resume / delete / run,默认 list。 id: 任务 ID;除 list 与 create 外的动作必填(可从 list 结果拿到)。 kind: watch(对比正文/区块)或 index(对比 sitemap 清单),默认 watch。 url: 目标网页或站点 URL(create 时必填)。 selector: 只看页面内某个区块(CSS 选择器),仅 kind=watch 有效。 interval_s: 执行间隔(秒),默认 3600,允许 60 ~ 604800(一周)。 webhook_url: 检测到变更后 POST 的地址(http/https);不传则只记录状态。 session: 执行时使用的登录态会话名,默认 default。 proxy: 执行时使用的代理;不传则按代理池分配,未配池时沿用全局配置。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| kind | No | watch | |
| proxy | No | ||
| action | No | list | |
| session | No | default | |
| selector | No | ||
| interval_s | No | ||
| webhook_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |