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 animplblock.