# Vector Search

Vector Search lets your agent search your workspace Knowledge Base from the Fetch Hive editor.

## What it does

This tool connects an agent to the Knowledge Base in your workspace. Use it when you want the agent to retrieve information from your Knowledge Base before it answers.

## Adding the tool to an agent

1. Open an agent in the editor.
2. Click the button with the tooltip **Add MCP Tool or Sub Agent**.
3. In **MCP Tools**, click **Vector Search**.

After you add the tool, select the **Vector Search** node to open its settings sheet.

## Configuration

Vector Search uses the **Dataset** field in the settings sheet to choose which Knowledge Base content the agent searches.

| Option      | Description                                                                    |
| ----------- | ------------------------------------------------------------------------------ |
| **Dataset** | Chooses which Knowledge Base content the agent searches when it uses this tool |

1. Select the **Vector Search** node in the editor.
2. In the settings sheet, open **Dataset**.
3. Choose the Knowledge Base content you want this agent to search.

The selected item appears on the tool node summary in the canvas.

## Use cases

* Answer questions from internal documents or product docs.
* Build support or ops agents that search a curated Knowledge Base.
* Retrieve source material before the agent writes a response.

## Notes

* Vector Search depends on content in your Knowledge Base. See [Knowledge Base](https://docs.fetchhive.com/agents/mcp-tools/broken-reference) and [Creating Data Sets](https://docs.fetchhive.com/agents/mcp-tools/broken-reference).
* To test how retrieval changes an answer, use [Testing with Chat](https://docs.fetchhive.com/agents/testing-with-chat).
* To add or remove tools from an agent, see [Creating and Configuring](https://docs.fetchhive.com/agents/creating-and-configuring).
