Mastra Gateway adds live web search
Mastra Gateway now lets developers equip any tool-compatible chat model with real-time web search via a server-side `mastra:web_search` tool call. The feature executes queries upstream and reuses cached results across provider failovers without requiring native model search support.
Handling web search at the gateway level eliminates the need for developers to maintain custom search tool wrappers across heterogeneous model providers. It unifies live retrieval into standard chat completions while insulating applications from provider outages.
- –Any model with basic tool calling can now access live web data through a unified request parameter.
- –Searches execute server-side at the gateway, avoiding duplicate search billing when inference retries over fallback providers.
- –Protocol compatibility includes drop-in OpenRouter search tool syntax, simplifying transitions between routing platforms.
- –Strict request constraints reject conflicting parameters like parallel tool calls or custom search functions to prevent ungrounded routing failures.
DISCOVERED
59m ago
2026-11-25
PUBLISHED
1h ago
2026-11-25
RELEVANCE
AUTHOR
mastra