set_debug_state
Enable or disable a Node-RED debug node to control whether it produces output, so you can silence or resume debug messages as needed.
Instructions
Enable or disable a debug node. When disabled, the debug node will not produce output.
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": {
"nodeId": "<nodeId>",
"enabled": "<enabled>"
},
"name": "set_debug_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ID of the debug node | |
| enabled | Yes | Whether to enable (true) or disable (false) the debug node |