tool_manager
fastmcp.tools.tool_manager
Classes
ToolManager
Manages FastMCP tools.
Methods:
mount
Adds a mounted server as a source for tools.
add_tool_from_fn
Add a tool to the server.
add_tool
Register a tool with the server.
remove_tool
Remove a tool from the server.
Args:
key
: The key of the tool to remove
Raises:
NotFoundError
: If the tool is not found