Mandala
Tools

Firecrawl

Scrape, search, crawl, map, and extract web data

Usage Instructions

Integrate Firecrawl into the workflow. Scrape pages, search the web, crawl entire sites, map URL structures, and extract structured data with AI.

Tools

firecrawl_scrape

Extract structured content from web pages with comprehensive metadata support. Converts content to markdown or HTML while capturing SEO metadata, Open Graph tags, and page information.

Input

ParameterTypeRequiredDescription
urlstringYesThe URL to scrape content from
apiKeystringYesFirecrawl API key

Output

ParameterTypeDescription
markdownstringPage content in markdown format
htmlstringRaw HTML content of the page
metadataobjectPage metadata including SEO and Open Graph information

Search for information on the web using Firecrawl

Input

ParameterTypeRequiredDescription
querystringYesThe search query to use
apiKeystringYesFirecrawl API key

Output

ParameterTypeDescription
dataarraySearch results data

firecrawl_crawl

Crawl entire websites and extract structured content from all accessible pages

Input

ParameterTypeRequiredDescription
urlstringYesThe website URL to crawl
limitnumberNoMaximum number of pages to crawl (default: 100)
onlyMainContentbooleanNoExtract only main content from pages
apiKeystringYesFirecrawl API Key

Output

ParameterTypeDescription
pagesarrayArray of crawled pages with their content and metadata
totalnumberTotal number of pages found during crawl
creditsUsednumberNumber of credits consumed by the crawl operation

firecrawl_map

Get a complete list of URLs from any website quickly and reliably. Useful for discovering all pages on a site without crawling them.

Input

ParameterTypeRequiredDescription
urlstringYesThe base URL to map and discover links from
searchstringNoFilter results by relevance to a search term (e.g., "blog")
sitemapstringNoControls sitemap usage: "skip", "include" (default), or "only"
includeSubdomainsbooleanNoWhether to include URLs from subdomains (default: true)
ignoreQueryParametersbooleanNoExclude URLs containing query strings (default: true)
limitnumberNoMaximum number of links to return (max: 100,000, default: 5,000)
timeoutnumberNoRequest timeout in milliseconds
apiKeystringYesFirecrawl API key

Output

ParameterTypeDescription
successbooleanWhether the mapping operation was successful
linksarrayArray of discovered URLs from the website

firecrawl_extract

Extract structured data from entire webpages using natural language prompts and JSON schema. Powerful agentic feature for intelligent data extraction.

Input

ParameterTypeRequiredDescription
urlsjsonYesArray of URLs to extract data from (supports glob format)
promptstringNoNatural language guidance for the extraction process
schemajsonNoJSON Schema defining the structure of data to extract
enableWebSearchbooleanNoEnable web search to find supplementary information (default: false)
ignoreSitemapbooleanNoIgnore sitemap.xml files during scanning (default: false)
includeSubdomainsbooleanNoExtend scanning to subdomains (default: true)
showSourcesbooleanNoReturn data sources in the response (default: false)
ignoreInvalidURLsbooleanNoSkip invalid URLs in the array (default: true)
apiKeystringYesFirecrawl API key

Output

ParameterTypeDescription
successbooleanWhether the extraction operation was successful
dataobjectExtracted structured data according to the schema or prompt

Notes

  • Category: tools
  • Type: firecrawl
Firecrawl