rnow-tools
Installation
SKILL.md
Writing Tool Functions
Tools allow LLMs to call external functions during training. The model learns when and how to use tools through reinforcement learning.
Basic Structure
Every tool function must:
- Be decorated with
@tool - Have type hints on ALL parameters
- Have a docstring
- Return JSON-serializable data
from rnow.core.tool import tool
@tool
def my_tool(query: str, limit: int = 10) -> dict:
"""Brief description of what this tool does.