There is currently a nodeInfo call which returns the NodeInfo object, which contains publicly available information about the node, which is stored in the NetworkMap.
In order to aid in the diagnostics of running nodes remotely, add a nodeDiagnosticsInfo call which returns more detailed information about the node such as:
Version info (same as returned by java -jar corda.jar --version)
Version (4.0, 4.1, 4.1-RC03, 4.1-20190101 etc...)
It must be callable via RPC
It must be available via the shell/SSH and must display the information in a sensible format (run nodeDiagnosticInfo)
It must be documented clearly