Skip to main content

Crate funera_builtin_tools

Crate funera_builtin_tools 

Source
Expand description

§funera-builtin-tools

Default tool implementations for the funera agent framework.

Provides four built-in tools that implement the funera_core Tool trait:

ToolDescription
ReadToolRead files and directories with hashline-anchored output
WriteToolWrite content to files, auto-creating parent directories
EditToolEdit files using hashline-anchored replace/append/prepend operations
ShellToolExecute shell commands cross-platform with timeout

§Quick start

ⓘ
use funera_builtin_tools::register_all_tools;
use funera_core::re_act::tool::ToolRegistry;

let mut registry = ToolRegistry::new();
register_all_tools(&mut registry);

Re-exports§

pub use edit::EditTool;
pub use read::ReadTool;
pub use shell::ShellTool;
pub use write::WriteTool;

Modules§

edit
hashline
read
shell
write

Functions§

register_all_tools
Register all four built-in tools (read, write, edit, shell) in the given registry.