chrome_web_content_interactions
Retrieve Chrome web content interactions ranked by total duration for analyzing INP and user-perceived latency. Identify slow click, tap, and keyboard handlers from trace data.
Instructions
Rank Chrome web content interactions by total_duration_ms: id, ts, total_duration_ms, longest_event_dur_ms, interaction_type, renderer_upid. Read-only.
Use when: INP analysis, reproducing user-felt latency, finding slow click/tap/keyboard handlers.
Don't use for: non-Chrome traces (will error). For interactions filtered by interaction_type, drop to execute_sql against chrome.web_content_interactions.
Parameters: optional limit (default 100, capped at 5000) and max_string_len. Operates on the loaded trace.
Output: metadata-first JSON; row_count exact; truncated=true means more rows exist; string_truncated=true means shortened text.
Empty result: no interactions captured (trace started before user input or interaction tracking was disabled in tracing config).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional max rows to return. Defaults to 100 and is capped at 5000. Must be > 0 when set; accepts both numbers and numeric strings. | |
| max_string_len | No | Optional per-string-cell character cap applied to returned Chrome-tool rows only. Unset preserves full strings for precision; accepts both numbers and numeric strings. Must be > 0 when set. |