This version of Unity is unsupported.

ToolAttribute.targetContext

public Type targetContext;

Description

If provided, the EditorTool will only be made available when the ToolManager.activeContextType is equal to targetContext.