get_interaction_log
Export real INP (Interaction to Next Paint) time series for a session, with latency per interaction. Save JSON or CSV and view percentile stats (p50-p98).
Instructions
Export the real INP (Interaction to Next Paint) time series for a session — one record per interaction Periscope drove (click/typing), each with its input-to-next-paint latency, event type, target, timestamp, and URL. Saves a JSON (for graphing) or CSV file and returns percentile stats (p50/p75/p90/p98/worst). Use after driving interactions (interact_and_test, click_element, fill_form…) — ideal for a long interactive test where you want to see all INP times, not just the worst. Unlike Lighthouse (which can't measure INP in lab mode and falls back to TBT), this is measured from actual Event Timing entries.
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": {
"session_id": "<session_id>"
},
"name": "get_interaction_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Reset the recorded interactions after exporting (default: false) | |
| format | No | Export format (default: json). JSON is easiest to graph; CSV for spreadsheets. | |
| session_id | Yes | Session ID |