Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bytedance/deer-flow/llms.txt
Use this file to discover all available pages before exploring further.
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
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:Firecrawl
Uses Firecrawl for advanced web scraping with JavaScript rendering. Configuration:Jina AI
Uses Jina AI’s reader API with readability extraction. Configuration:Parameters
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.comis valid,example.comis invalid
Examples
Error Handling
All providers return error messages as strings:web_search (Firecrawl)
Search the web using Firecrawl’s search API.Configuration
Parameters
The query to search for.
Example
Return Type
Returns a JSON string with normalized search results:image_search
Search for images online using DuckDuckGo. Use this tool BEFORE image generation to find reference images.Configuration
Parameters
Search keywords describing the images you want to find. Be specific for better results.
Maximum number of images to return. Default is 5.
Image size filter. Options:
"Small", "Medium", "Large", "Wallpaper". Use "Large" for reference images.Image type filter. Options:
"photo", "clipart", "gif", "transparent", "line". Use "photo" for realistic references.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 Tavily for Search
Using Firecrawl for Search
Using Jina AI for Fetching
Image Search
Best Practices
Web Search
- Use specific, targeted queries
- Search before fetching to find relevant URLs
- Respect
max_resultsconfiguration
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