---
title: "PluginContextError.toolNotFound(name:)"
framework: swift-package-manager
role: symbol
role_heading: Case
path: "swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotfound(name:)"
---

# PluginContextError.toolNotFound(name:)

Could not find a tool with the given name.

## Declaration

```swift
case toolNotFound(name: String)
```

## Discussion

Discussion This could be either because it doesn’t exist, or because the plugin doesn’t have a dependency on it.

## See Also

### Errors from the Plugin Context

- [PluginContextError.productNotFound(name:package:)](swift-package-manager/documentation/packageplugin/plugincontexterror/productnotfound(name:package:).md)
- [PluginContextError.targetNotFound(name:package:)](swift-package-manager/documentation/packageplugin/plugincontexterror/targetnotfound(name:package:).md)
- [PluginContextError.toolNotSupportedOnTargetPlatform(name:)](swift-package-manager/documentation/packageplugin/plugincontexterror/toolnotsupportedontargetplatform(name:).md)
