tools-rs 0.3.3

Core functionality for the tools-rs tool collection system
Documentation
from tools_rs import tool


@tool()
def add(a: int, b: int) -> int:
    """Add two numbers.

    Args:
        a: First number
        b: Second number
    """
    return a + b


@tool(cost_tier=2)
def multiply(a: int, b: int) -> int:
    """Multiply two numbers.

    Args:
        a: First number
        b: Second number
    """
    return a * b