Tavily Search Web Search
This skill provides the ability to search the internet for information in real time, using the Tavily API to obtain high-quality web results, summaries, and links.
Use Cases
- Real-Time Information: Find the latest news, version updates, company announcements, social events, and technology news.
- Resource Location: Search for official documentation, developer manuals, entry points to original papers, online course pages, and official tool websites.
- Fact-Checking: Answer questions containing time-sensitive terms such as "recent," "current," "latest," "official website," or "today."
- In-Depth Background: Before answering complex questions, use search to gather industry background or multiple perspectives.
Dependencies and Configuration
- Dependencies:
python3, Python packagetavily-python. - Environment Variable:
TAVILY_API_KEYmust be set.
Environment Variable Configuration
If the environment variable is not configured, you can quickly set it using the following link:
If a dependency is missing from the environment, run:
bashpython3 -m pip install tavily-python
Tools and Scripts
This skill includes one core Python script that supports text and JSON output.
Script Location
/var/minis/skills/tavily-search/scripts/search.py
Command Examples
bash# Basic search (default text output, including title/URL/summary) python3 scripts/search.py "Python 3.13 New Features" # Specify the number of results to return python3 scripts/search.py "Shanghai Events This Week" --max 8 # Get JSON format (suitable for further processing by the model) python3 scripts/search.py "Rust Web Framework" --format json # Include the reference answer generated by the API (if any) python3 scripts/search.py "What is RAG Technology" --include-answer
Parameter Description
query(positional argument): Search keyword.--max: Number of results to return. Default is 5.--format:text(default) orjson.--include-answer: Boolean switch. In text mode, displays the API-aggregatedanswerfield.
Workflow Recommendations
- Search First, Then Answer: For topics that are not general common knowledge, especially recent events, first call
search.pyto obtain context, then synthesize the answer. - Include Source Citations: At the end of the answer or within paragraphs, be sure to include URLs from the search results as sources to improve credibility.
- Structured Processing: If you need to process a large amount of information, prioritize using
--format jsonand parse the results internally.
minis_url: minis://skills/tavily-search/SKILL.md


