Get Rerender Causes
get_rerender_causesIdentify React components with repeated rerenders and get likely causes from a render profile, helping you fix performance issues in Next.js apps.
Instructions
Highlight components with repeated rerenders and explain likely causes using heuristics derived from the exported profile.
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": {
"profileId": "<profileId>"
},
"name": "get_rerender_causes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many components to include. Defaults to 10. | |
| profileId | Yes | Profile ID from load_render_profile | |
| minActualDuration | No | Minimum total actual duration in ms for a component to appear — render time including its children, the same metric this tool ranks cost by. Filters sub-millisecond noise. Defaults to 0. |