tools-rs 0.3.3

Core functionality for the tools-rs tool collection system
Documentation
1
2
3
4
5
6
7
8
9
10
11
from tools_rs import tool


@tool()
def reverse(text: str) -> str:
    """Reverse a string.

    Args:
        text: The text to reverse
    """
    return text[::-1]