Back to Hub

tavily-search

Search the web using Tavily AI search API

Trusted

Install

forge skills add tavily-search

Requirements

Binary Dependencies

curljq

Required Env Vars

TAVILY_API_KEY

Egress Domains

api.tavily.com

Tavily Web Search Skill

Search the web using the Tavily AI search API, optimized for LLM applications.

Authentication

Set the TAVILY_API_KEY environment variable with your Tavily API key. Get your key at https://tavily.com

No OAuth or MCP configuration required.

Quick Start

./scripts/tavily-search.sh '{"query": "latest AI news"}'

Search the web using Tavily AI.

Input:

ParameterTypeRequiredDescription
querystringyesThe search query
search_depthstringnobasic (fast) or advanced (thorough). Default: basic
max_resultsintegernoMaximum results to return (1-20). Default: 5
time_rangestringnoFilter by time: day, week, month, year
include_domainsarraynoOnly include results from these domains
exclude_domainsarraynoExclude results from these domains

Output: JSON object with query, answer, results (array of {title, url, content, score}), and response_time.

Search Depth

DepthSpeedDetailUse Case
basicFast (~1s)Standard snippetsQuick lookups, fact checks
advancedSlower (~3s)Detailed contentResearch, analysis

Response Format

{
  "query": "your search query",
  "answer": "AI-generated summary answer",
  "response_time": 0.5,
  "results": [
    {
      "title": "Page Title",
      "url": "https://example.com",
      "content": "Relevant content snippet...",
      "score": 0.95
    }
  ]
}

Tips

  • Use search_depth: advanced for research tasks that need detailed content
  • Use include_domains to restrict searches to trusted sources
  • Use time_range: day for breaking news or very recent information
  • The answer field provides a concise AI-generated summary when available

Security Summary

Trust Level: Trusted

This skill has been reviewed and signed by the Forge team.

Network Access

This skill communicates with: api.tavily.com

Publisher: Forge

Back to Hub