get_events_around
Retrieve a contextual window of DOM events immediately before and after a specific timestamp or event ID to inspect adjacent UI changes.
Instructions
Retrieve a focused contextual window of events occurring immediately before and after a specific timestamp or event ID.
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": {
"sessionId": "<sessionId>"
},
"name": "get_events_around"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | No | Target event ID | |
| windowMs | No | Window radius in milliseconds (default: 300ms) | |
| sessionId | Yes | Session ID | |
| timestamp | No | Target timestamp in milliseconds |