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_*_toolfunction.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 the |
|
Register the |
|
Register the |
|
Register the |
|
Register the |
|
Register the |
|
Register the |
|
Register the |
Package Contents¶
- tavily_fastmcp.tools.register_catalog_tool(mcp: Any, *, catalog: tavily_fastmcp.models.ServerCatalog, package_version: str) None[source]¶
Register the
tavily.catalogMCP 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.crawlMCP 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.extractMCP 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_researchMCP 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.healthMCP 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.mapMCP 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.researchMCP 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.searchMCP tool.- Parameters:
mcp – FastMCP server instance.
backend – Tavily service backend.
settings – Package settings.
- Returns:
None.