override_state
Modify React component state values during debugging to test different scenarios and fix issues in real-time.
Instructions
Override a state value on a class 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": {
"id": "<id>",
"path": "<path>",
"value": "<value>"
},
"name": "override_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element ID | |
| path | Yes | Path to state key | |
| value | Yes | New value |