1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Toolkit of built-in tools and utilities for AI agents
//!
//! This crate provides:
//! - Built-in tools (filesystem, todos, etc.)
//! - `#[tool]` macro for automatic tool generation
//! - Tool builder utilities for advanced custom tools
//! - Tool registration and management helpers
//!
//! ## Recommended Usage
//!
//! Use the `#[tool]` macro to define tools:
//!
//! ```rust
//! use agents_macros::tool;
//!
//! #[tool("Adds two numbers together")]
//! pub fn add(a: i32, b: i32) -> i32 {
//! a + b
//! }
//!
//! // Use it:
//! let tool = AddTool::as_tool();
//! ```
// Re-export core types from agents-core for convenience
pub use ;
// Re-export builder utilities (advanced use cases)
pub use ;
// Re-export the #[tool] macro - this is the recommended way to define tools
pub use tool;
// Re-export built-in tools
pub use ;