profiler.trace.long_tasks
Extract long main-thread tasks from a recorded browser trace to identify what blocked or hung the page, returning task details without loading the full trace into context.
Instructions
Pull the long main-thread tasks out of a recorded trace. Answers "what hung the page" without the trace ever entering the context.
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": {
"artifact_id": "<artifact_id>"
},
"name": "profiler.trace.long_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| artifact_id | Yes | ||
| min_duration_ms | No |