State-management activity
get_state_activityTrack state-management activity counts and timing, and find when build-heavy frames coincide, to diagnose if rebuild storms stem from state churn.
Instructions
How much state-management activity the app is doing and when, plus how often build-heavy frames coincide with it — use with get_rebuilds to answer 'is this rebuild storm driven by state churn'. Counts and timing only: Riverpod sends an app-side buffer offset and provider an element id, neither resolvable to a provider name or value. Counts are NOT transition counts — a provider event means dependents were notified, so one state change in a widget-heavy tree produces many events. Stock Bloc posts nothing itself; a flutter_bloc app appears here only as the provider activity its notifications cause.
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_state_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buckets | No | How many of the busiest one-second buckets to return. |