- as the
web_searchprovider - as explicit plugin tools:
firecrawl_searchandfirecrawl_scrape - as a fallback extractor for
web_fetch
Install plugin
Install the official plugin, then restart Gateway:Keyless access and API keys
Firecrawl registers twoweb_search providers:
- Firecrawl Search (
firecrawl) — uses the hosted/v2/searchAPI with your key; auto-detected when a key is present. - Firecrawl Search (Free) (
firecrawl-free) — uses the hosted keyless starter tier, no API key required. It is opt-in only and never auto-selected, since selecting it sends your search queries to Firecrawl’s free tier.
web_fetch fallback is also keyless. The
explicit firecrawl_search and firecrawl_scrape tools require an API key. Add
FIRECRAWL_API_KEY in the gateway environment or configure it for higher limits.
Configure Firecrawl search
- Choosing Firecrawl in onboarding or
openclaw configure --section webenables the installed Firecrawl plugin automatically. - Pick Firecrawl Search (Free) in onboarding (or set
provider: "firecrawl-free") to run keyless with no API key. The keyed Firecrawl Search provider sendsplugins.entries.firecrawl.config.webSearch.apiKeyorFIRECRAWL_API_KEY. web_searchwith Firecrawl supportsqueryandcount.- For Firecrawl-specific controls like
sources,categories, or result scraping, usefirecrawl_search. baseUrldefaults to hosted Firecrawl athttps://api.firecrawl.dev. Self-hosted overrides are allowed only for private/internal endpoints; HTTP is accepted only for those private targets.FIRECRAWL_BASE_URLis the shared env fallback for Firecrawl search and scrape base URLs.- Firecrawl search requests default to a 30-second timeout;
firecrawl_search’stimeoutSecondsparameter overrides it per call.
Configure Firecrawl web_fetch fallback
- The explicitly selected Firecrawl
web_fetchfallback works without an API key. When configured, OpenClaw sendsplugins.entries.firecrawl.config.webFetch.apiKeyorFIRECRAWL_API_KEYfor higher limits. - Choosing Firecrawl during onboarding or
openclaw configure --section webenables the plugin and selects Firecrawl forweb_fetchunless another fetch provider is already configured. firecrawl_scraperequires an API key.maxAgeMscontrols how old cached results can be (ms). Default is 172,800,000 ms (2 days).onlyMainContentdefaults totrue;timeoutSecondsdefaults to 60.- Legacy
tools.web.fetch.firecrawl.*andtools.web.search.firecrawl.*config is auto-migrated byopenclaw doctor --fix. - Firecrawl scrape/base URL overrides follow the same hosted/private rule as search: public hosted traffic uses
https://api.firecrawl.dev; self-hosted overrides must resolve to private/internal endpoints. firecrawl_scraperejects obvious private, loopback, metadata, and non-HTTP(S) target URLs before forwarding them to Firecrawl, matching theweb_fetchtarget-safety contract for explicit Firecrawl scrape calls.
firecrawl_scrape reuses the same plugins.entries.firecrawl.config.webFetch.* settings and env vars, including its required API key.
Self-hosted Firecrawl
Setplugins.entries.firecrawl.config.webSearch.baseUrl, plugins.entries.firecrawl.config.webFetch.baseUrl, or FIRECRAWL_BASE_URL when you run Firecrawl yourself. OpenClaw accepts http:// only for loopback, private-network, .local, .internal, or .localhost targets. Public custom hosts are rejected so Firecrawl API keys are not sent to arbitrary endpoints by accident.
Firecrawl plugin tools
firecrawl_search
Use this when you want Firecrawl-specific search controls instead of generic web_search. Requires an API key.
Parameters:
querycount(1-100)sourcescategoriesincludeDomains/excludeDomains(hostnames only; mutually exclusive)tbs(time filter, for exampleqdr:d,qdr:w,sbd:1)locationandcountry(geo-targeting)scrapeResultstimeoutSeconds
firecrawl_scrape
Use this for JS-heavy or bot-protected pages where plain web_fetch is weak.
Parameters:
urlextractModemaxCharsonlyMainContentmaxAgeMsproxystoreInCachetimeoutSeconds
Stealth / bot circumvention
firecrawl_scrape and the web_fetch Firecrawl fallback default to proxy: "auto" plus storeInCache: true unless the caller overrides those parameters. firecrawl_search and the web_search Firecrawl provider have no proxy/storeInCache controls; stealth proxy mode only applies to scrape/fetch requests.
Firecrawl’s proxy mode controls bot circumvention (basic, stealth, or auto). auto retries with stealth proxies if a basic attempt fails, which may use more credits than basic-only scraping.
How web_fetch uses Firecrawl
web_fetch extraction order:
- Readability (local)
- Configured fetch provider, such as Firecrawl (when selected, or auto-detected from configured credentials)
- Basic HTML cleanup (last fallback)
tools.web.fetch.provider. If you omit it, OpenClaw auto-detects the first ready web-fetch provider from available credentials. The official Firecrawl plugin provides that fallback.
Related
- Web Search overview — all providers and auto-detection
- Web Fetch — web_fetch tool with Firecrawl fallback
- Tavily — search + extract tools