This version of Unity is unsupported.

ToolManager.activeContextType

public static Type activeContextType;

Description

Gets the type of EditorToolContext that is currently active. The default value is GameObjectToolContext.