Widget rebuild hotspots
get_rebuildsFinds which widgets rebuild and how often, ranking your code above packages, to find needless rebuilds causing slow screens. Requires a debug build with widget creation tracking.
Instructions
Which widgets are rebuilding and how often, resolved to widget name, file and line, with your own code ranked above package code. Use for 'why is this screen slow to build' and to find needless rebuilds. Requires a debug build with widget creation tracking; reports why it is empty otherwise.
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": "get_rebuilds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many hotspots to return. |