This document explains how to use the Web Search feature on the Infron platform.
Overview
Web Search allows an AI model to access real-time web information while generating an answer, enabling more accurate and up-to-date responses. This feature is particularly useful for:
Querying breaking news and current events
Getting the latest product information and pricing
Looking up dynamic data such as weather and stock quotes
Accessing the latest technical documentation and resources
Supported Protocols
Protocol
Endpoint
Web Search Parameter
Chat Completions (OpenAI-compatible)
/v1/chat/completions
web_search_options
Messages (Anthropic-compatible)
/v1/messages
web_search_20250305 within tools
Responses (OpenAI Responses)
/v1/responses
web_search family within tools
Web Search - Chat Completions API
The Chat Completions API enables Web Search via the web_search_options parameter.