Skip to main content

Crate llm_tool_macros

Crate llm_tool_macros 

Source
Expand description

Proc-macro crate for llm-tool.

Provides the #[llm_tool] attribute macro that transforms a plain function into a strongly-typed RustTool implementation.

With the md-tmpl feature enabled, tool descriptions can be loaded from .tmpl.md template files via prompt_file = "...", and tool responses can be auto-rendered through templates via response_file = "...".

Attribute Macrosยง

llm_tool
Transforms a function into a RustTool implementation.