Get Node-RED info
nodered_get_infoReads a Node-RED add-on's version, runtime settings, flow state, and installed palette modules so you can verify installed versions and integrations before building a flow.
Instructions
Read the Node-RED add-on's version, runtime settings, flow run state and installed palette modules.
Calls GET /settings (kept: version, httpNodeRoot, context,
flowEncryptionType, flowFilePretty, externalModules), GET /flows/state and GET /nodes (grouped per npm module with version and
type count). Changes nothing.
Use when: checking which Node-RED and palette versions run, e.g. whether
node-red-contrib-home-assistant-websocket is installed, before
building a flow.
Not for: host, memory and OS details — use nodered_get_diagnostics;
the add-on's own options — use supervisor_get_addon.
Returns: {"addon_slug", "addon_version", "nodered_version", "settings", "flows_state", "modules": [{module, version, types, enabled, user_installed}]}; a section Node-RED answers with an HTTP error holds
{"error": "HTTP <status>", ...} instead.
Errors: the add-on lookup errors of nodered_list_flows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nodered_get_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||