ui_checkpoint
Capture a snapshot of the current UI screen to compare against later changes, enabling a pixel-level diff after hot reload to pinpoint visual updates.
Instructions
Remember the current screen so a later ui_diff can show what changed.
Take one before editing code, then call ui_diff after hot reloading.
Args: label: name for this checkpoint. 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_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | before | |
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |