Skip to main content

execute_shell_tool

Function execute_shell_tool 

Source
pub async fn execute_shell_tool(
    command: &ShellCommand,
    args: &HashMap<String, String>,
) -> String
Expand description

Execute a shell command for a custom tool, substituting tool arguments.

The tool arguments are passed as a HashMap<String, String> (same as built-in tools).