Get one Node-RED flow
nodered_get_flowRead one Node-RED flow tab with all its nodes, groups, and junctions, with secrets replaced by a placeholder ready for editing. Returns the flow, revision, and redacted fields without changing anything.
Instructions
Read one Node-RED flow (editor tab) with all its nodes, secrets replaced by a placeholder.
Reads GET /flows and returns the tab plus every node whose z is
this tab (regular nodes, config nodes scoped to the tab, groups,
junctions). Node credentials are never in Node-RED's answer; fields
that look secret (password, token, apikey, URLs with
user:pass@) come back as the redaction placeholder and are listed in
redacted_fields. Changes nothing.
Use when: inspecting a flow, or reading it before nodered_update_flow
(placeholders sent back unchanged keep their stored value).
Not for: the list of flows — use nodered_list_flows; finding nodes
across flows — use nodered_search_nodes or nodered_find_entity_usage.
Returns: {"addon_slug", "rev", "flow": {id, label, disabled, info, env}, "nodes": [...], "node_count", "redacted_fields"}.
Errors: flow_not_found, plus the add-on lookup errors of
nodered_list_flows.
Limits: secrets typed into function code or templates are not detected.
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": "nodered_get_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | Flow (tab) id from `nodered_list_flows`, e.g. `a1b2c3d4e5f60718`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||