Diff deploy
diff_deployUse when a staging or preview deploy should match production, or a migrated site its old one: it compares the pages of both origins and answers only the pages that are missing, changed or look different. Free up to 40 pages, once per client address, no key needed.
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": {
"previewUrl": "<previewUrl>",
"productionUrl": "<productionUrl>"
},
"name": "diff_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Pages to compare, each starting with /; skips discovery. | |
| maxPages | No | Without paths: pages discovery compares, default 10. | |
| checkMode | No | full (existence, content and visual, the default), text-only (no screenshots) or existence-only. | |
| threshold | No | Visual diff tolerance as a fraction from 0 (exact) to 1: 0.05 means 5%. The web app takes a percentage; the API does not. | |
| previewUrl | Yes | The preview or staging site (full URL), compared as Site B. | |
| maxPriceUsd | No | Spend cap in USD: a job priced above it is refused before any challenge. | |
| productionUrl | Yes | The production site (full URL), compared as Site A. | |
| viewportWidth | No | Capture width in px. | |
| idempotencyKey | No | Retry key: under a prepaid balance, the same value within 24 hours is not charged again and answers DUPLICATE_REQUEST with the first jobId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| jobId | No | ||
| sample | No | ||
| status | No | ||
| payment | No | ||
| jobToken | No | ||
| followUps | No | ||
| regressions | No | ||
| pagesCharged | No | ||
| pagesChecked | No | ||
| regressionCount | No | ||
| allowanceRemaining | No |