from langchain.tools import tool @tool def add(a: float, b: float) -> float: """Adds a+b and retuns the sum""" return a+b @tool def multiply(a: float, b: float) -> float: """Multiplies a*b and retuns the product""" return a*b