Web Search

Pattern

Firecrawl Scrape Tool Chat

Crawl and extract content using Firecrawl's API. Includes URL processing, markdown conversion, and structured data extraction.

IntermediateOct 2025View the full pattern on desktop
Firecrawl Scrape Tool Chat preview

Problems solved

  • Search and scrape pages with Firecrawl's API
  • Convert crawled pages into markdown for the model
  • Transform Firecrawl hits into structured tool results

Use cases

  • Web research agents that need full page text
  • Competitive site monitoring
  • Content extraction chat tools
  • SEO research that starts from Firecrawl search

AI SDK APIs

streamTexttools:stepCountIsconvertToModelMessagestool(

Tags

aiwebsearchfirecrawlweb-crawlingcontent-extractionurl-processingmarkdown-conversiondata-collectionzod-validationtype-safe

Requirements

Node.js
24+
Memory
512MB
Other
  • Firecrawl API key

Environment variables

External services

firecrawl

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View the pattern on desktop

Related patterns