Skip to main content

Overview

Community tools provide integrations with external services for enhanced agent capabilities. These tools require API keys and configuration through DeerFlow’s tool configuration system.
Community tools may require additional setup and API keys. Check the configuration requirements for each tool before use.

web_search (Tavily)

Search the web using the Tavily search API.

Configuration

Parameters

str
required
The query to search for.

Example

Return Type

Returns a JSON string with normalized search results:

web_fetch

Fetch the contents of a web page at a given URL. Multiple providers are available.

Providers

Tavily

Uses Tavily’s content extraction API. Configuration:
Example:
Returns:

Firecrawl

Uses Firecrawl for advanced web scraping with JavaScript rendering. Configuration:
Example:
Returns: Markdown-formatted content with title

Jina AI

Uses Jina AI’s reader API with readability extraction. Configuration:
Example:
Returns: Markdown-formatted article content (up to 4096 characters)

Parameters

str
required
The URL to fetch the contents of.

Important Notes

  • Only fetch EXACT URLs provided by the user or returned from search results
  • Cannot access content requiring authentication (private Google Docs, login walls)
  • Do NOT add www. to URLs that don’t have them
  • URLs must include the schema: https://example.com is valid, example.com is invalid

Examples

Error Handling

All providers return error messages as strings:

web_search (Firecrawl)

Search the web using Firecrawl’s search API.

Configuration

Parameters

str
required
The query to search for.

Example

Return Type

Returns a JSON string with normalized search results:

Search for images online using DuckDuckGo. Use this tool BEFORE image generation to find reference images.

Configuration

Parameters

str
required
Search keywords describing the images you want to find. Be specific for better results.
int
Maximum number of images to return. Default is 5.
str
Image size filter. Options: "Small", "Medium", "Large", "Wallpaper". Use "Large" for reference images.
str
Image type filter. Options: "photo", "clipart", "gif", "transparent", "line". Use "photo" for realistic references.
str
Layout filter. Options: "Square", "Tall", "Wide". Choose based on your generation needs.

When to Use

  • Before generating character/portrait images: Search for similar poses, expressions, styles
  • Before generating specific objects/products: Search for accurate visual references
  • Before generating scenes/locations: Search for architectural or environmental references
  • Before generating fashion/clothing: Search for style and detail references

Examples

Return Type

Returns a JSON string with search results:

Using Results

The returned image URLs can be used as reference images in image generation tools:

Configuration Examples

Using Jina AI for Fetching


Best Practices

  • Use specific, targeted queries
  • Search before fetching to find relevant URLs
  • Respect max_results configuration

Web Fetch

  • Only fetch URLs from search results or user input
  • Never modify URLs (especially don’t add/remove www.)
  • Always include URL schema (https://)
  • Handle authentication limitations gracefully

Image Search

  • Be specific in search queries
  • Use appropriate filters for your use case
  • Always search before generating images
  • Use "photo" type for realistic references
  • Use "Large" size for best quality references

Error Handling

All community tools handle errors gracefully:

Search Errors

Fetch Errors

Image Search Errors


Dependencies

Tavily

Firecrawl

Jina AI

Requires custom client implementation (included in DeerFlow).

Image Search