rootContext

Provides the root context of the current agent. If the root context is not defined, this function defaults to returning the current instance.

Return

The root context of type AIAgentContext, or the current instance if the root context is null.