dom_get_mutations
Get DOM mutations since last call to identify added, removed, or re-attributed nodes. Use after an action to confirm if the app re-rendered or if the handler had no visible effect.
Instructions
DOM changes recorded since the last call — what was added, removed or re-attributed, and where. Use it after an action to see whether the app re-rendered at all, which distinguishes 'handler never ran' from 'handler ran and produced nothing'.
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": "dom_get_mutations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Drain the buffer as you read it. | |
| limit | No | Maximum records to return. |