Felix-Ma/Berkeley-Function-Calling-Leaderboard huggingface dataset:
Function: cat
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Display the contents of a file of any extension from currrent directory.
Parameters: file_name: type: string
description: The name of the file from current directory to display. No path is allowed. 
Required parameters: file_name
Returns: file_content: type: string
description: The content of the file.
Function: cd
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Change the current working directory to the specified folder.
Parameters: folder: type: string
description: The folder of the directory to change to. You can only change one folder at a time. 
Required parameters: folder
Returns: current_working_directory: type: string
description: The new current working directory path.
Function: cp
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Copy a file or directory from one location to another.  If the destination is a directory, the source file or directory will be copied into the destination directory.  Both source and destination must be local to the current directory.
Parameters: source: type: string
description: The name of the file or directory to copy.
destination: type: string
description: The destination name to copy the file or directory to. If the destination is a directory, the source will be copied into this directory. No file paths allowed. 
Required parameters: source, destination
Returns: result: type: string
description: The result of the copy operation or an error message if the operation fails.
Function: diff
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Compare two files of any extension line by line at the current directory.
Parameters: file_name1: type: string
description: The name of the first file in current directory.
file_name2: type: string
description: The name of the second file in current directorry. 
Required parameters: file_name1, file_name2
Returns: diff_lines: type: string
description: The differences between the two files.
Function: du
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Estimate the disk usage of a directory and its contents.
Parameters: human_readable: type: boolean
description: If True, returns the size in human-readable format (e.g., KB, MB). 
default: no
Returns: disk_usage: type: string
description: The estimated disk usage.
Function: echo
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Write content to a file at current directory or display it in the terminal.
Parameters: content: type: string
description: The content to write or display.
file_name: type: string
description: The name of the file at current directory to write the content to. Defaults to None. 
default: None
Required parameters: content
Returns: terminal_output: type: string
description: The content if no file name is provided, or None if written to file.
Function: find
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Find any file or directories under specific path that contain name in its file name.  This method searches for files of any extension and directories within a specified path that match the given name. If no name is provided, it returns all files and directories in the specified path and its subdirectories. Note: This method performs a recursive search through all subdirectories of the given path.
Parameters: path: type: string
description: The directory path to start the search. Defaults to the current directory (".").
default: .
name: type: string
description: The name of the file or directory to search for. If None, all items are returned. 
default: None
Returns: matches: type: array
description: A list of matching file and directory paths relative to the given path.
items: type: string
Function: grep
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Search for lines in a file of any extension at current directory that contain the specified pattern.
Parameters: file_name: type: string
description: The name of the file to search. No path is allowed and you can only perform on file at local directory.
pattern: type: string
description: The pattern to search for. 
Required parameters: file_name, pattern
Returns: matching_lines: type: array
description: Lines that match the pattern.
items: type: string
Function: ls
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: List the contents of the current directory.
Parameters: a: type: boolean
description: Show hidden files and directories. Defaults to False. 
default: no
Returns: current_directory_content: type: array
description: A list of the contents of the specified directory.
items: type: string
Function: mv
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Move a file or directory from one location to another. so
Parameters: source: type: string
description: Source name of the file or directory to move. Source must be local to the current directory.
destination: type: string
description: The destination name to move the file or directory to. Destination must be local to the current directory and cannot be a path. If destination is not an existing directory like when renaming something, destination is the new file name. 
Required parameters: source, destination
Returns: result: type: string
description: The result of the move operation.
Function: pwd
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Return the current working directory path.
Returns: current_working_directory: type: string
description: The current working directory path.
Function: rm
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Remove a file or directory.
Parameters: file_name: type: string
description: The name of the file or directory to remove. 
Required parameters: file_name
Returns: result: type: string
description: The result of the remove operation.
Function: rmdir
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Remove a directory at current directory.
Parameters: dir_name: type: string
description: The name of the directory to remove. Directory must be local to the current directory. 
Required parameters: dir_name
Returns: result: type: string
description: The result of the remove operation.
Function: sort
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Sort the contents of a file line by line.
Parameters: file_name: type: string
description: The name of the file appeared at current directory to sort. 
Required parameters: file_name
Returns: sorted_content: type: string
description: The sorted content of the file.
Function: tail
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Display the last part of a file of any extension.
Parameters: file_name: type: string
description: The name of the file to display. No path is allowed and you can only perform on file at local directory.
lines: type: integer
description: The number of lines to display from the end of the file. Defaults to 10. 
default: 10
Required parameters: file_name
Returns: last_lines: type: string
description: The last part of the file.
Function: wc
This tool belongs to the Gorilla file system. It is a simple file system that allows users to perform basic file operations such as navigating directories, creating files and directories, reading and writing to files, etc. Tool description: Count the number of lines, words, and characters in a file of any extension from current directory.
Parameters: file_name: type: string
description: Name of the file of current directory to perform wc operation on.
mode: type: string
description: Mode of operation ('l' for lines, 'w' for words, 'c' for characters). 
default: l
Required parameters: file_name
Returns: count: type: integer
description: The count of the number of lines, words, or characters in the file.
type: type: string
description: The type of unit we are counting. [Enum]: ["lines", "words", "characters"]