Skip to main content

Crate agen_macros

Crate agen_macros 

Source
Expand description

Procedural macros for declaring agen tools.

tool_registry expands methods marked with #[tool] into agen::tool::Tool implementations and tool definitions. Applications normally use the re-exports from agen; this companion crate exists so those macros can be published and versioned independently.

Attribute Macrosยง

description
Argument description marker interpreted by tool_registry.
tool
Marker attribute interpreted by tool_registry.
tool_registry
Generates tools for methods marked with #[tool] in an impl block.