aboutsummaryrefslogtreecommitdiffstats
path: root/tools/web_search_tavily.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/web_search_tavily.sh')
-rwxr-xr-xtools/web_search_tavily.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/web_search_tavily.sh b/tools/web_search_tavily.sh
index 38f5385..1bf1e9d 100755
--- a/tools/web_search_tavily.sh
+++ b/tools/web_search_tavily.sh
@@ -4,9 +4,11 @@ set -e
# @describe Perform a web search using Tavily API to get up-to-date information or additional context.
# Use this when you need current information or feel a search could provide a better answer.
-# @env TAVILY_API_KEY! The api key
# @option --query! The query to search for.
+# @env TAVILY_API_KEY! The api key
+# @env LLM_OUTPUT=/dev/stdout The output path The output path
+
main() {
curl -fsSL -X POST https://api.tavily.com/search \
-H "content-type: application/json" \