Skip to content

tavily-cli

Web search, content extraction, site crawling, URL discovery, and deep research through the tvly command-line tool. Returns JSON optimized for LLM consumption.

  • Area: Foundational
  • Category: utilities
  • Level: expert
  • Input: conversation
  • Output: document
  • Setup: install, api-key
  • Roles:

Search the web, extract page content, crawl sites, discover URLs, and run deep research via the Tavily CLI (tvly).

How you ask

  • “Search the web for the latest official documentation on this API.”
  • “Extract clean markdown from these three known URLs.”
  • “Map this documentation site before choosing which section to crawl.”
  • “Run a cited deep-research report on this question.”

Inputs

  • query — Search query (keep under 400 characters)
  • urls — One or more URLs to extract
  • url — Root URL to map
  • url — Root URL to crawl
  • query — Research topic or question

Outputs

  • --output-dir (or -o )
  • content (markdown-or-json)
  • docs.md
  • extracted-document (markdown)
  • pages (markdown-files-or-json)
  • report (markdown-or-json)
  • results (json)
  • stdout (or -o )
  • urls (json)