ui_diff
Compare the current screen against a saved checkpoint and get changed regions highlighted, so you can verify an edit produced only intended UI changes.
Instructions
Compare the screen now against a checkpoint and highlight what moved.
Returns a summary plus the current screen with changed regions outlined, so you can confirm an edit did what you meant and did not disturb anything else.
Args: label: which checkpoint to compare against. threshold: per-channel difference (0-255) that counts as a real change. Raise it to ignore animations and anti-aliasing. max_width: longest edge of the returned image. serial: device serial when several are attached.
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": "ui_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | before | |
| serial | No | ||
| max_width | No | ||
| threshold | No |