Skip to main content

Tavily CLI Usage

Use Tavily search capabilities directly from the command line.

Prerequisites

Commands

List Available Tools

Output:

Get Tool Info

Output:

Check Tool Health

Output:

Show Usage Example

Output:

Test Tool (Dry Run)

Output:

Test Tool (Live)

Output:

Running Agents with Tavily

Simple Search Agent

With Configuration File

Create agent.yaml:
Run:

JSON Output

Environment Variables

CLI Options

Global Options

Tools Subcommand Options

Examples

Search with Specific Options

Multi-Tool Agent

Batch Processing

With Custom Model

Troubleshooting

Missing API Key

Solution:

Package Not Installed

Solution:

Rate Limiting

Solution: Wait and retry, or upgrade your Tavily plan.

Tavily Code Usage

Programmatic usage guide

Tools Registry

All available tools

CLI Reference

Full CLI documentation