Skip to main content

create_cli_tools

Function create_cli_tools 

Source
pub fn create_cli_tools(config: &Config) -> Result<Vec<Box<dyn Tool>>>
Expand description

Create just the CLI-specific dangerous tools (bash, read_file, write_file, edit_file).

Use with agent.extend_tools() after Agent::new() to add these to an agent that already has safe tools.