watch_element
Track style and transform changes on a selected element while scrolling to analyze scroll-triggered animations.
Instructions
Watch a specific element for style/transform changes during scroll.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "watch_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | How long to watch (ms) | |
| selector | Yes | CSS selector for the element | |
| scrollThrough | No |