REC 00:00:00;00
screencast-mcp Tools Workflows Connect GitHub ↗

SCREENCAST-MCP / TOOLS / WATCH

Screen Diff

screen_diff

Compare two screenshots or frames: SSIM score, changed share, and changed boxes in b's pixels, to check a UI change happened only where expected.

watchread-onlyidempotentsince v0.18.0

00:00PARAMETERS
NameTypeDescription
a requiredstringBefore image (or video: first frame).
b requiredstringAfter image (or video); scaled to a's size.
pixelThresholdnumberMean 0-255 difference for a ~32x32 cell to count as changed (default 12). ≥ 0, ≤ 255
returnImagebooleanReturn b inline with changes outlined (default true).
00:05A MINIMAL CALL
screen_diff { "a": "before.png", "b": "after.png" }

The required arguments only, with placeholder values. Everything else takes its default.

00:10WHAT COMES BACK

Structured content (structuredContent), alongside a text summary:

FieldType
identical alwaysboolean
ssim alwaysnumber | null
meanDiff alwaysnumber
changedFraction alwaysnumber
regions alwaysany[]
00:15SEEN IN