search_web
Search the web and return a ranked list of pages with their titles, URLs and matching snippets. Use when you need pages about a topic, product or fact and do not have a URL yet. Do not use to read a page you already have a URL for (use read_page), for pictures of a subject (use search_images), for where an image appears (use search_by_image), or for a question that needs several sources combined into an answer (use research_question). Choose provider by query style: exa for neural/semantic queries and capped highlights; firecrawl for web search with full-page Markdown; tavily for hybrid search with chunked passages; parallel for objective-driven semantic search and char-budgeted excerpts; brave for lexical/keyword queries, search operators and token-budgeted passages (content: true); serpapi for Google/Bing SERPs and exact keyword queries; browserbase for managed web search. Defaults to exa. Set provider to choose another supported provider; Fieldwork never switches providers after an error.
/api/v1/tools/search_webAuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
application/jsonproviderstringexafirecrawltavilyparallelbraveserpapibrowserbasetimeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
querystringrequiredWhat to search for.
limitintegerHow many results to return.
includeDomainsstring[]Only use results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
countrystringLocalize results to this country, as a two-letter ISO code such as GB.
contentbooleanInclude each result's page text. Slower and longer; leave out to get snippets only.
maxCharsPerResultintegerCap on the characters of passages or excerpts returned for each result.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
querystringrequiredWhat to search for.
limitintegerHow many results to return.
includeDomainsstring[]Only use results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
countrystringLocalize results to this country, as a two-letter ISO code such as GB.
contentbooleanInclude each result's page text. Slower and longer; leave out to get snippets only.
maxCharsPerResultintegerCap on the characters of passages or excerpts returned for each result.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
limitintegerHow many results to return.
includeDomainsstring[]Only use results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
recencystringOnly pages from the last hour, day, week, month or year. Firecrawl and SerpApi refuse it together with publishedAfter or publishedBefore.
hourdayweekmonthyearcountrystringLocalize results to this country, as a two-letter ISO code such as GB.
contentbooleanInclude each result's page text. Slower and longer; leave out to get snippets only.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
limitintegerHow many results to return.
includeDomainsstring[]Only use results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
recencystringOnly pages from the last day, week, month or year. Brave refuse it together with publishedAfter or publishedBefore.
dayweekmonthyearcountrystringLocalize results to this country, as a two-letter ISO code such as GB.
languagestringPrefer pages in this language, as an ISO 639-1 code such as en.
contentbooleanInclude each result's page text. Slower and longer; leave out to get snippets only.
chunksPerSourceintegerPassages to return per page, 1 to 3.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
limitintegerHow many results to return.
includeDomainsstring[]Only use results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
excludeDomainsstring[]Leave out results from these domains, such as example.com. Firecrawl, Parallel and Perplexity refuse includeDomains and excludeDomains together.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
countrystringLocalize results to this country, as a two-letter ISO code such as GB.
maxCharsPerResultintegerCap on the characters of passages or excerpts returned for each result.
maxCharsTotalintegerCap on the characters of passages or excerpts returned across all results.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. At least 600: Parallel cannot always fetch fresh.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
limitintegerHow many results to return.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
recencystringOnly pages from the last day, week, month or year. Brave refuse it together with publishedAfter or publishedBefore.
dayweekmonthyearcountrystringLocalize results to this country, as a two-letter ISO code such as GB.
languagestringPrefer pages in this language, as an ISO 639-1 code such as en.
contentbooleanInclude each result's page text. Slower and longer; leave out to get snippets only.
maxTokensintegerTotal token budget for all results' passages, 1024 to 32768. Requires content: true.
maxTokensPerResultintegerToken cap for one result's passages, 512 to 8192. Requires content: true.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
publishedAfterstring<date>Only pages published on or after this date, YYYY-MM-DD.
publishedBeforestring<date>Only pages published before this date, YYYY-MM-DD.
recencystringOnly pages from the last hour, day, week, month or year. Firecrawl and SerpApi refuse it together with publishedAfter or publishedBefore.
hourdayweekmonthyearcountrystringLocalize results to this country, as a two-letter ISO code such as GB.
languagestringPrefer pages in this language, as an ISO 639-1 code such as en.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredquerystringrequiredWhat to search for.
limitintegerHow many results to return.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredThe provider that ran the call and its normalized result.
providerstringrequiredexafirecrawltavilyparallelbraveserpapibrowserbaserequestIdstringrequiredresultobjectrequiredShow propertiesHide properties
answerstringimagesobject[]Show propertiesHide properties
objectdescriptionstringheightnumbersourceUrlstringthumbnailUrlstringtitlestringurlstringrequiredwidthnumbermetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]resultsobject[]requiredShow propertiesHide properties
objectauthorstringcontentstringfaviconstringimagestringkindstringlastUpdatedAtstringplaceobjectShow propertiesHide properties
addressstringlatitudenumberlongitudenumberpriceobjectShow propertiesHide properties
amountstringcurrencystringformattedstringpublishedAtstringratingnumberreviewCountnumberscorenumbersnippetstringtitlestringurlstringrequiredtruncatedobject[]One entry for each cut text field; absent when nothing was cut.
Show propertiesHide properties
objectlengthintegerrequiredOriginal character length.
pathstringrequiredshownintegerrequiredCharacters shown before the inline cut note.
A refusal or a failed call. Branch on error.code; never parse the message.
errorobjectrequiredShow propertiesHide properties
codestringrequiredAbortedInvalidRequestJobFailedNotAFileNotFoundProviderErrorRateLimitedTimeoutTooLargeUnauthorizedUnsupportedjobIdstringA job that was already started. Pass it as resume instead of repeating the call.
messagestringrequiredproviderstringretryAfternumberSeconds to wait.
retryablebooleanrequiredWhether repeating the same call can succeed.
requestIdstring