chrome_web_content_interactions
Rank Chrome web content interactions by total duration to identify slow input handlers for INP analysis.
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).
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": "chrome_web_content_interactions"
}
}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. | |
| trace_id | No | Optional trace id returned by `load_trace`. Omit to use the active trace. | |
| 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. |