"""Tools module - exports all MCP tool implementations."""
from .format_fraction import TOOL_DEFINITION as FORMAT_FRACTION_DEF
from .format_fraction import format_fraction_tool
from .read_recipe import TOOL_DEFINITION as READ_RECIPE_DEF
from .read_recipe import read_recipe_tool
from .search_recipes import TOOL_DEFINITION as SEARCH_RECIPES_DEF
from .search_recipes import search_recipes_tool
from .update_recipe import TOOL_DEFINITION as UPDATE_RECIPE_DEF
from .update_recipe import update_recipe_tool
# Export all tools and their definitions
TOOLS = {
"search_recipes": {
"definition": SEARCH_RECIPES_DEF,
"handler": search_recipes_tool,
},
"read_recipe": {
"definition": READ_RECIPE_DEF,
"handler": read_recipe_tool,
},
"update_recipe": {
"definition": UPDATE_RECIPE_DEF,
"handler": update_recipe_tool,
},
"format_fraction": {
"definition": FORMAT_FRACTION_DEF,
"handler": format_fraction_tool,
},
}
__all__ = [
"TOOLS",
"search_recipes_tool",
"read_recipe_tool",
"update_recipe_tool",
"format_fraction_tool",
]