# ResolveTool(Tool)

> Returns the matching EditorTool type for the specified Tool given the context.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.EditorTools](/engine/6000.5/script-reference/unityeditor/editortools.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public Type ResolveTool(Tool tool)
```

### Parameters

**** (\[Tool]\(/engine/6000.5/script-reference/unityeditor/tool)): The [Tool](/engine/6000.5/script-reference/unityeditor/tool.md) to resolve to an [EditorTool](/engine/6000.5/script-reference/unityeditor/editortools/editortool.md) type.

### Returns

| Type                                                       | Description                                                                                                                                                                |
| ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Type](https://learn.microsoft.com/dotnet/api/system.type) | An [EditorTool](/engine/6000.5/script-reference/unityeditor/editortools/editortool.md) type for the requested [Tool](/engine/6000.5/script-reference/unityeditor/tool.md). |
