KosmoKrator

data

Tavily MCP, CLI, and Lua Integration for AI Agents

Tavily integration docs for AI agents: MCP gateway setup, Tavily CLI commands, Lua API reference, credentials, and function schemas.

Tavily for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
tavily.tavily_search Read read 20 Search the web with Tavily. Use for current information, source discovery, and AI-ready snippets. Supports answer generation, raw page content, images, recency/date filters, domain filters, country boosting, and usage details.
tavily.tavily_extract Read read 9 Extract clean markdown or text content from one or more URLs with Tavily. Use after search or map when an agent needs full page content.
tavily.tavily_crawl Read read 17 Crawl a website with Tavily and return extracted content from discovered pages. Use for documentation ingestion, RAG source collection, and targeted site extraction.
tavily.tavily_map Read read 12 Map a website with Tavily and return discovered URLs without extracting full page content. Use before targeted extract or crawl jobs.
tavily.tavily_create_research_task Read read 5 Create a Tavily Research task for comprehensive multi-source research. The returned request_id can be passed to tavily_get_research_task.
tavily.tavily_get_research_task Read read 1 Get the current status and, when complete, the content and sources for a Tavily Research task by request_id.
tavily.tavily_get_usage Read read 0 Get Tavily API key and account usage details, including per-endpoint credit usage and plan limits.