Tools / shell /readme.md
ZackBradshaw's picture
Upload folder using huggingface_hub
e67043b verified
|
raw
history blame
817 Bytes

Shell Commands

Contributor: Sihan Zhao

Terminal Tool

This tool allows you to run shell commands on a machine.

Setup

The tool is initialized with the following parameters:

Endpoint

The tool provides the following endpoint:

  • /shell_run: Run commands and return final output. The input should be a command string.

Function Description

  • shell_run(commands: str): This function runs commands and returns the final output. The commands should be a string. The function returns the output of the executed commands.