Web Search
Use the web_search tool to give the model access to current web information. You can also use progrok search directly from the CLI (no proxy needed).
API Usage
curl -X POST http://localhost:18645/v1/chat/completions -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Latest news on AI"}],
"tools": [{"type": "web_search"}]
}' CLI Usage
progrok search "latest AI news"