Currently, we have a dropdown inside the Properties that let you add relevant nodes.
However, these aren't properly filtered based on context.
Node Tree Type
In the World section, it shows a list of nodes that don't properly work on this context:
And conversely, in the Material section you can pick Background which is meant for the World only.
Active Render Engine
Similarly. we should also Filter based on the current render engine. For example, the Toon BSDF and Principled Hair BSDF shader nodes aren't supported by Eevee, so we should filter them out when Eevee is selected. The reverse is true for Shader to RGB which only works in Eevee.
We should filter this menu so you can only add nodes that work properly in each context.
Submitted by user NathanWondrak on Devtalk.