Skip to main content

llama_cpp_v3_agent_sdk/tools/
mod.rs

1pub mod bash;
2pub mod edit_file;
3pub mod glob;
4pub mod read_file;
5pub mod write_file;
6
7use crate::tool::ToolRegistry;
8
9/// Register all built-in tools into the given registry.
10pub fn register_builtin_tools(registry: &mut ToolRegistry) {
11    registry.register(Box::new(bash::BashTool::new()));
12    registry.register(Box::new(read_file::ReadFileTool));
13    registry.register(Box::new(write_file::WriteFileTool));
14    registry.register(Box::new(edit_file::EditFileTool));
15    registry.register(Box::new(glob::GlobTool));
16}