File size: 203 Bytes
8950c51 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from langchain_core.tools import tool
@tool
def subtract(a: int, b: int) -> int:
"""Subtract two numbers.
Args:
a: first int
b: second int
"""
return a - b
|