toggle_error
Toggle error boundary state for testing React components by setting error conditions to debug application behavior during development.
Instructions
Toggle error boundary state for testing
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>",
"isErrored": "<isErrored>"
},
"name": "toggle_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element ID | |
| isErrored | Yes | Force error state |