nr_get_flow_context
Retrieve context variables from a Node-RED flow. Provide a flow ID to list all keys or specify a key to get its value.
Instructions
Read Node-RED flow context variables. Pass key=null to list all keys, or a specific key to get its value.
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": {
"flow_id": "<flow_id>"
},
"name": "nr_get_flow_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | ||
| key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |