llm-tool 0.1.2

Framework-agnostic Rust tool definitions for LLM agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
use llm_tool::llm_tool;

#[llm_tool]
fn no_docs(
    /// A value.
    x: i64,
) -> Result<String, String> {
    Ok(format!("{x}"))
}

fn main() {}