Skip to content

Conversation

z0gSh1u
Copy link

@z0gSh1u z0gSh1u commented Aug 9, 2025

Tools firecrawl_crawl_website_tool, firecrawl_scrape_website_tool, firecrawl_search_tool are passing params to firecrawl Python SDK.

return self._firecrawl.scrape_url(url, params=self.config)

return self._firecrawl.crawl_url(url, poll_interval=2, params=self.config)

return self._firecrawl.search(
query=query,
params=self.config,
)

This kwarg has been deprecated since firecrawl-py 2.0.0 for crawl and scrape, see

firecrawl/firecrawl@29b36c5#diff-483c8de2767d25d6782630bce6706f6a8f3351729762c80b88ba21f93fe1be56

and also for search for now, see

https://github.com/mendableai/firecrawl/blob/8b89470f3c817a24e5e8788c3b7ea2d31acc0c50/apps/python-sdk/firecrawl/firecrawl.py#L611-L623

I would suggest restrict firecrawl-py to <2.0.0 in optional dependencies. Otherwise the tool call results in Tool Error like

Tool Usage Failed
Name: Firecrawl web scrape tool
Error: Unsupported parameter(s) for scrape_url: params. Please refer to the API documentation for the correct parameters.
Tool Args:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant