Native web search providers: Vertex AI (Google), Azure OpenAI, OpenAI, Anthropic, xAI, Perplexity
Browse models with web search in the Requesty Console. Look for
supports_web_search: true in the List Models response.How It Works
Each provider implements web search differently. Requesty normalizes these differences behind a single tool definition that works across all three inference endpoints:| Endpoint | Format | Tool definition |
|---|---|---|
/v1/chat/completions | OpenAI Chat Completions | "tools": [{ "type": "web_search" }] |
/v1/responses | OpenAI Responses API | "tools": [{ "type": "web_search" }] |
/v1/messages | Anthropic Messages | "tools": [{ "type": "web_search_20250305", "name": "web_search", "max_uses": 5 }] |
"stream": true) for all web search requests. Streaming delivers citations and content in real time, and avoids the extra latency of waiting for the full search to finish.
Usage
- Chat Completions
- Responses API
- Messages API
POST /v1/chat/completions - Add { "type": "web_search" } to the tools array.model to switch providers:web_search metadata on streamed chunks with citation URLs and titles:Web search requires models with tool use support. Check the Model Library to confirm web search support for specific models.