Tool Search Tool in their blog to reduce
LLM tool context bloat by dynamically filtering LLM tools using tool search.

- GitHub: 35 tools (~26K tokens)
- Slack: 11 tools (~21K tokens)
- Sentry: 5 tools (~3K tokens)
- Grafana: 5 tools (~3K tokens)
- Splunk: 2 tools (~2K tokens)
Tool Search API
Agentor provides a Tool Search API that registers multiple tools and exposes a single tool the LLM saving a large amount of token cost. The LLM can then use the tool search tool to search for the most relevant tools to use.Step 1: Discover the relevant tools
In the first step, register all the tools with the ToolSearch API and call the LLM with thetool search tool.
We will take an example of a weather agent that can get the weather of a city.
What is the weather in London? with tool search tool and it returns
the executed tool output containing the relevant tool for the input.
tool search tool to generate the final response.