Documentation Index
Fetch the complete documentation index at: https://docs.upsonic.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
FirecrawlTools extends ToolKit and uses the Firecrawl API for scraping, crawling, mapping, web search, batch scraping, and LLM-powered extraction.ToolKit: FirecrawlTools inherits from ToolKit. You get all base behavior (e.g.
include_tools, exclude_tools, timeout, use_async). See Creating ToolKit for the full API.Required: Set
FIRECRAWL_API_KEY (env or .env). Install: uv pip install firecrawl-py.scrape_url, crawl_website, start_crawl, get_crawl_status, cancel_crawl, map_website, search_web, batch_scrape, start_batch_scrape, get_batch_scrape_status, extract_data, start_extract, get_extract_status. Use ToolKit’s exclude_tools / include_tools to limit which tools the agent sees.
Examples
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | from env FIRECRAWL_API_KEY | Firecrawl API key. |
api_url | str | None | None | Custom API base URL for self-hosted Firecrawl. |
default_formats | list[str] | None | ["markdown"] | Default output formats for scrape operations. |
default_scrape_limit | int | 100 | Default page limit for crawl operations. |
default_search_limit | int | 5 | Default result limit for search operations. |
fc_timeout | int | 120 | Timeout in seconds for blocking operations. |
poll_interval | int | 2 | Seconds between job status polls. |

