tavily_fastmcp.tools.health

Health tool registration.

Purpose:

Register the simple server health endpoint for MCP clients.

Design:
  • Keep the tool small and deterministic.

  • Return only package/server metadata so the tool is safe for smoke tests and client bootstrapping.

Functions

register_health_tool(→ None)

Register the tavily.health MCP tool.

Module Contents

tavily_fastmcp.tools.health.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