browser_paint_damage
Detect elements whose rendered pixels or DOM subtrees changed after actions without screenshot diffing. Mark a reference point, then retrieve changed elements since that mark.
Instructions
Track and detect elements whose rendered pixels or DOM subtrees changed after actions, without expensive screenshot diffing.
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": "browser_paint_damage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform: 'mark' to set a reference point, or 'get' to retrieve changed elements since mark. | get |
| exclude_ref | No | Optional @ref to exclude from the report (such as the button that was just clicked). | |
| exclude_selector | No | Optional CSS selector to exclude from the report. |