browser_search
One-shot web search tool. Creates a new context, navigates to the search engine, waits for results, extracts structured JSON search results (titles, URLs, snippets), and closes the context. Supports Google and DuckDuckGo with pagination.
Usage Example
Parameters
Required
querystringrequiredThe search query string (e.g., 'best restaurants in NYC', 'python tutorial')
Optional
providerenumduckduckgogoogleSearch engine provider. 'duckduckgo' uses DuckDuckGo HTML-lite, 'google' uses Google Search. Default: duckduckgo
pagestringPage number for paginated results (1-based). Default: 1. For Google: appends &start=((page-1)*10). For DuckDuckGo: appends &s=((page-1)*10)
osenumwindowsmacoslinuxFilter profiles by operating system. Options: 'windows', 'macos', 'linux'
use_torbooleanUse TOR proxy for anonymous browsing. Each request gets a unique exit IP. Default: false
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}