tools.search_tools module
Search the tool registry by keyword or semantic (vector) similarity.
Keyword mode performs a fast case-insensitive substring match over tool names
and descriptions. Semantic mode embeds the query with Gemini via
OpenRouterEmbeddings and runs a RediSearch KNN query against the
pre-computed tool embedding index, falling back to keyword search if the
index is unavailable.