tavily_fastmcp.tools

Tool registration helpers for tavily_fastmcp.

Purpose:

Provide one module per MCP tool registration so the server surface is physically organized the same way it is described in the package docs.

Design:
  • Each module exposes one register_*_tool function.

  • Registration is side-effect free until the helper is called by the server factory.

  • The server keeps prompts and resources local while delegating tool wiring to this package.

Examples

>>> from tavily_fastmcp.tools import register_search_tool
>>> callable(register_search_tool)
True

Submodules

Functions

register_catalog_tool(→ None)

Register the tavily.catalog MCP tool.

register_crawl_tool(→ None)

Register the tavily.crawl MCP tool.

register_extract_tool(→ None)

Register the tavily.extract MCP tool.

register_get_research_tool(→ None)

Register the tavily.get_research MCP tool.

register_health_tool(→ None)

Register the tavily.health MCP tool.

register_map_tool(→ None)

Register the tavily.map MCP tool.

register_research_tool(→ None)

Register the tavily.research MCP tool.

register_search_tool(→ None)

Register the tavily.search MCP tool.

Package Contents

tavily_fastmcp.tools.register_catalog_tool(mcp: Any, *, catalog: tavily_fastmcp.models.ServerCatalog, package_version: str) None[source]

Register the tavily.catalog MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • catalog – Structured server catalog.

  • package_version – Package version string.

Returns:

None.

tavily_fastmcp.tools.register_crawl_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol) None[source]

Register the tavily.crawl MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

Returns:

None.

tavily_fastmcp.tools.register_extract_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol) None[source]

Register the tavily.extract MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

Returns:

None.

tavily_fastmcp.tools.register_get_research_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol) None[source]

Register the tavily.get_research MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

Returns:

None.

tavily_fastmcp.tools.register_health_tool(mcp: Any, *, server_name: str, package_version: str) None[source]

Register the tavily.health MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • server_name – Human-readable server name.

  • package_version – Package version string.

Returns:

None.

Examples

>>> callable(register_health_tool)
True
tavily_fastmcp.tools.register_map_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol) None[source]

Register the tavily.map MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

Returns:

None.

tavily_fastmcp.tools.register_research_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol) None[source]

Register the tavily.research MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

Returns:

None.

tavily_fastmcp.tools.register_search_tool(mcp: Any, *, backend: tavily_fastmcp.service.TavilyServiceProtocol, settings: tavily_fastmcp.settings.Settings) None[source]

Register the tavily.search MCP tool.

Parameters:
  • mcp – FastMCP server instance.

  • backend – Tavily service backend.

  • settings – Package settings.

Returns:

None.