Actions7
Web Search
AI-generatedSummary
Searches DuckDuckGo for web pages using the required query and optional search settings. Supports locally reordering or discarding fetched results by domain or URL substring, applying search operators, fetching and extracting content from result pages using an improved and more robust HTML extraction process potentially run in a worker thread, and returning raw or debug information. The per-page content fetch timeout description was clarified to cover the entire download time including redirects.
Inputs
- Search Query (required) — Terms to search for on the web.
- Web Search Options — Optional settings include maximum results (default 10; DuckDuckGo may return fewer), target region (default Worldwide), and Safe Search level (default Strict). Ranking Rules can boost, downrank, or discard results by domain or URL substring; rules are evaluated in order, and ranking changes are applied locally before the maximum result count is applied.
- Return Raw Results — Return the raw response instead of processed results (default false).
- Fetch Page Content — Fetch result pages and extract their main text into a pageContent field (default false). This makes additional requests to third-party sites. When enabled, options include the number of top results to fetch (default 3), the maximum extracted text length (default 2,000 characters; 0 means unlimited), and the per-page timeout (default 8,000 ms), which covers the entire page download including redirects. Include Page Metadata can add page title, author, publication date, excerpt, and site name when the page is an article. The content extraction is more robust, using Mozilla's Readability and running extraction in a worker thread for improved stability.
- Use Search Operators — Enable optional query refinements (default false): site, file type, title, URL or body terms, exclusions, exact phrase, OR terms, related or cached pages, definitions, all-terms title/URL/text matching, location, and language code.
- Error Handling — Choose whether an error stops execution or execution continues (default Continue on Error).
- Debug Mode — Include detailed request and response information for troubleshooting (default false).
- Cache Settings — Enable result caching (default enabled) and set its time to live in seconds (default 300).
Output shape
A list of processed web search results, or the raw response when Return Raw Results is enabled.
Results may include pageContent and article metadata when page fetching is enabled. DuckDuckGo may return fewer results than requested; cached results may be used when caching is enabled.