#[tool]Expand description
The #[tool] procedural macro that converts functions and structs into Tool implementations.
This macro supports:
- Async functions with arbitrary parameters and Result return types
- Structs that have an
executemethod - Automatic JSON schema generation using
schemars - Documentation extraction from doc comments
- Parameter descriptions from doc comments on function arguments
Attributes supported:
- description = “…”