When you define type="root" in the context definition, this context will be created as root context automatically when the toolkit is initialized. If there is no context definition as root context, the first context created by the application will be set as the root context.
Note There can be only one root context in the toolkit.