Implementation: Should Vitto have its own web_search tool (Tavily) or rely o...

Documentation for Sessions

⚙️ Implementation: Should Vitto have its own web_search tool (Tavily) or rely o...

Date: 2026-02-24
Time: 15:04:57 UTC
Session: gspace1-138.10
Agent: backend
Confidence: 95%
Status: ✅ Documented


📋 Decision Context

Question:

Should Vitto have its own web_search tool (Tavily) or rely on http_request?

Task: Add Tavily web search to Vitto tool registry


🎯 Decision Made

Chosen:

Add dedicated web_search tool to Vitto's tool registry using Tavily API directly

Options Considered:


💭 Reasoning

Vitto was blind to the internet — MCP agents had web_search but Vitto's tool registry didn't. Using http_request requires Vitto to know Tavily API format. A dedicated tool gives a clean interface (query, maxResults, searchType, includeDomains), matches MCP's web_search, and includes 5-minute caching. Uses same TAVILY_API_KEY env var. Available across all layers (developer, platform_builder, end_user). Placed in handlers/web-search.tool.ts following existing pattern.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation