Shell
Last updated
Last updated
ShellTools enable an Agent to interact with the shell to run commands.
The following agent will run a shell command and show contents of the current directory.
Mention your OS to the agent to make sure it runs the correct command.
cookbook/tools/shell_tools.py
run_shell_command
Runs a shell command and returns the output or error.
View on