analyze_react_state
Inventories React state hooks per component, capturing useState, useReducer, useRef, and useSyncExternalStore with initial values and setters or dispatch bindings.
Instructions
State inventory per component: useState/useReducer/useRef/useSyncExternalStore with initial value and bindings (setters/dispatch).
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": {
"name": "<name>"
},
"name": "analyze_react_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project |