Web Search Is Now Available in Puter.js AI Chat
Starting today, you can use web search functionality in the Puter.js AI chat function for OpenAI models. This lets you fetch real-time and up-to-date information, allowing your AI chat to generate better responses.
Simply add the web search definition in the tools option:
puter.ai.chat("Summarize what the User-Pays Model is: https://docs.puter.com/user-pays-model/", {
model: "openai/gpt-5.2-chat",
tools: [{ type: "web_search" }]
})
Find more information about web search in the web search documentation.
Get started with Puter.js today, and add AI web search to your application!
Related:
Ship a Full-Stack App with One Prompt
Give this
to your AI
Create a to-do list app using Puter.js
Coding manually? see the guide