Loading...
Loading...
Use this skill for web search, extraction, mapping, crawling, and research via Tavily’s REST API when web searches are needed and no built-in tool is available, or when Tavily’s LLM-friendly format is beneficial.
npx skill4agent add intellectronica/agent-skills tavilyTAVILY_API_KEYTAVILY_API_KEYhttps://api.tavily.comAuthorization: Bearer $TAVILY_API_KEYContent-Type: application/jsonX-Project-ID: <project-id>curl -sS -X POST "https://api.tavily.com/search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"query": "<query>",
"search_depth": "basic",
"max_results": 5,
"include_answer": true,
"include_raw_content": false,
"include_images": false
}'querysearch_depthbasicadvancedfastultra-fastchunks_per_sourcemax_resultstopicgeneralnewsfinancetime_rangeday|week|month|year|d|w|m|ystart_dateend_dateYYYY-MM-DDinclude_answerfalsetruebasicadvancedinclude_raw_contentfalsetruemarkdowntextinclude_imagesinclude_image_descriptionsinclude_faviconinclude_domainsexclude_domainscountryauto_parametersinclude_usageanswerresults[]titleurlcontentscoreraw_contentfaviconresponse_timeusagerequest_idcurl -sS -X POST "https://api.tavily.com/extract" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"urls": ["https://example.com/article"],
"query": "<optional intent for reranking>",
"chunks_per_source": 3,
"extract_depth": "basic",
"format": "markdown",
"include_images": false,
"include_favicon": false
}'urlsquerychunks_per_sourcequeryextract_depthbasicadvancedformatmarkdowntexttimeoutinclude_usageresults[]urlraw_contentimagesfaviconfailed_results[]response_timeusagerequest_idcurl -sS -X POST "https://api.tavily.com/map" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"url": "https://docs.tavily.com",
"max_depth": 1,
"max_breadth": 20,
"limit": 50,
"allow_external": true
}'urlinstructionsmax_depthmax_breadthlimitselect_pathsselect_domainsexclude_pathsexclude_domainsallow_externaltimeoutinclude_usagebase_urlresults[]response_timeusagerequest_idcurl -sS -X POST "https://api.tavily.com/crawl" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"url": "https://docs.tavily.com",
"instructions": "Find all pages about the Python SDK",
"max_depth": 1,
"max_breadth": 20,
"limit": 50,
"extract_depth": "basic",
"format": "markdown",
"include_images": false
}'urlinstructionschunks_per_sourcechunks_per_sourceinstructionsmax_depthmax_breadthlimitextract_depthbasicadvancedformatmarkdowntextinclude_imagesinclude_faviconallow_externaltimeoutinclude_usagebase_urlresults[]urlraw_contentfaviconresponse_timeusagerequest_idcurl -sS -X POST "https://api.tavily.com/research" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{
"input": "<research question>",
"model": "auto",
"stream": false,
"citation_format": "numbered"
}'request_idcreated_atstatusinputmodelresponse_timecurl -sS -X GET "https://api.tavily.com/research/<request_id>" \
-H "Authorization: Bearer $TAVILY_API_KEY"statuscompletedcontentsources[]{ title, url, favicon }"stream": true-Ncurl -N -X POST "https://api.tavily.com/research" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TAVILY_API_KEY" \
-d '{"input":"<question>","stream":true,"model":"pro"}'searchextractmapcrawlsearch_depth: basicmax_results: 5TAVILY_API_KEYmax_depthlimitsearch_depth: basicmax_resultschunks_per_source