Function: runScrapeSearch()
runScrapeSearch(
request,config,signal?):Promise<{answer:string;citations:object[];model:string;query:string; }>
Run a scraping search over DuckDuckGo. Returns the same
WebSearchResult shape as the native path, with model set to
"scrape:duckduckgo" so callers can tell how the result was produced.
Citations are filtered through the configured URL allow-list. signal
cancels the in-flight request.
Parameters
Section titled “Parameters”request
Section titled “request”model?
Section titled “model?”string = ...
string = ...
config
Section titled “config”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<{ answer: string; citations: object[]; model: string; query: string; }>