## Web Search Tool

## Installation

Execute the following command from the root of your superexpert-ai project folder:

```bash
npm install @superexpert-ai/websearch-tool
```

Add the plugin to your superexpert-ai.plugins.server.ts file:

```js
// other plugins...
import '@superexpert-ai/websearch-tool';
```

Add your Tavily API key to your .env file (Get a key for free from [Tavily](https://tavily.com/)):

```js
TAVILY_API_KEY=<You API Key>
```

## Usage

After installation, you can pick the `Web Search Tool` plugin as a server tool or as a context data tool.

## Have questions?

Post a message to the [Superexpert.AI Discord Server](https://discord.gg/wsrc3enWN3)
