get_component_state
Retrieve the current state and props of a specific React component by name and index, enabling detailed inspection during debugging.
Instructions
Get detailed state and props for a specific React component
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": "get_component_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name to find | |
| index | No | If multiple matches, which one (0-indexed, default: 0) |