llm-tool 0.9.2

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

/// A resource without the required `uri`.
#[llm_resource(description = "no uri here")]
fn my_resource() -> String {
    "hello".to_string()
}

fn main() {}