trace_state_cascade_footprint
Measure the depth and consumer count of a state update cascade by reconstructing the parent/owner tree traversal for a given commit index in React profiler exports.
Instructions
Reconstructs the virtual parent/owner tree traversal to measure the depth and consumer count of a state update cascade for a specific commit index.
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": {
"profile_path": "<profile_path>",
"commit_index": "<commit_index>"
},
"name": "trace_state_cascade_footprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_index | Yes | Zero-based index of the commit to trace | |
| profile_path | Yes | Absolute path to the React DevTools Profiler export (.json) |