pilot_page_diff
Compare the visible text content of two web pages and get a unified diff to detect differences between staging and production, or before and after deployments.
Instructions
Generate a text diff comparing the visible content of two URLs — useful for comparing staging vs production, before vs after deployments, or detecting content differences between pages. Use when the user wants to see what text differs between two pages, verify a deployment did not break content, or compare two versions of the same site. Strips scripts, styles, and SVG before comparing.
Parameters:
url1: The first URL to navigate to and capture (shown as removed lines "---" in the diff)
url2: The second URL to navigate to and capture (shown as added lines "+++" in the diff)
Returns: Unified diff text showing lines removed from url1 and added in url2.
Errors:
"Invalid URL": Either URL is malformed. Provide complete URLs with protocol.
Timeout (15s): A page took too long to load. Check the URL or network connectivity.
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": {
"url1": "<url1>",
"url2": "<url2>"
},
"name": "pilot_page_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url1 | Yes | First URL | |
| url2 | Yes | Second URL |