diff_state
Compare the current Android screen with the last cached snapshot to identify added, removed, or text-changed elements. Returns stable-id diffs and screen hashes for precise verification.
Instructions
Diff the current screen against the last cached snapshot.
Returns added/removed/text-changed element lists (stable-id diff) plus both screen hashes — the explicit counterpart of the automatic evidence returned by every action tool.
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": "diff_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ADB serial; omit with a single connected device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||