snapdiff_check_build
Capture multiple pages and diff them against baselines in one build to detect unintended changes from shared component edits. Returns a per-page summary and a review URL for any changed pages.
Instructions
Capture every page in the list and diff them all against their baselines in one build. Use this after editing a shared component or design token to check whether the change affected pages you did not directly modify.
Returns a per-page summary of changed vs unchanged. If any page changed, a review URL is included so a human can approve or reject before the baseline moves.
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": {
"project": "<project>",
"pages": "<pages>"
},
"name": "snapdiff_check_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project slug or ID (prj_xxx). | |
| pages | Yes | Pages to capture and diff. Pass every route in your page map. | |
| branch | No | Branch to look up baselines on. Defaults to the project's default branch. |