Inject
node-red-injectTrigger a Node-RED inject node by its ID to send a message into a flow, with optional debug output capture for up to 60 seconds.
Instructions
Trigger an inject node by its ID. Optionally capture debug 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>"
},
"name": "node-red-inject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ID of the inject node to trigger | |
| waitForDebug | No | Seconds to wait for debug output after injecting (0 = no wait) |