hui107/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:
type: dict
properties: file_name: type: string
description: The name of the file from current directory to display. No path is allowed. 
required: file_name

Response:
type: dict
properties: 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:
type: dict
properties: folder: type: string
description: The folder of the directory to change to. You can only change one folder at a time. 
required: folder

Response:
type: dict
properties: 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:
type: dict
properties: 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: source, destination

Response:
type: dict
properties: 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:
type: dict
properties: 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: file_name1, file_name2

Response:
type: dict
properties: 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:
type: dict
properties: human_readable: type: boolean
description: If True, returns the size in human-readable format (e.g., KB, MB). 
default: no

Response:
type: dict
properties: 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:
type: dict
properties: 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: content

Response:
type: dict
properties: 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:
type: dict
properties: 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

Response:
type: dict
properties: 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:
type: dict
properties: 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: file_name, pattern

Response:
type: dict
properties: 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:
type: dict
properties: a: type: boolean
description: Show hidden files and directories. Defaults to False. 
default: no

Response:
type: dict
properties: current_directory_content: type: array
description: A list of the contents of the specified directory.
items: type: string
Function: mkdir
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: Create a new directory in the current directory.

Parameters:
type: dict
properties: dir_name: type: string
description: The name of the new directory at current directory. You can only create directory at current directory.
required: dir_name

Response:
type: dict
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:
type: dict
properties: 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: source, destination

Response:
type: dict
properties: result: type: string
description: The result of the move operation.
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:
type: dict
properties: file_name: type: string
description: The name of the file or directory to remove. 
required: file_name

Response:
type: dict
properties: 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:
type: dict
properties: dir_name: type: string
description: The name of the directory to remove. Directory must be local to the current directory. 
required: dir_name

Response:
type: dict
properties: 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:
type: dict
properties: file_name: type: string
description: The name of the file appeared at current directory to sort. 
required: file_name

Response:
type: dict
properties: 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:
type: dict
properties: 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: file_name

Response:
type: dict
properties: last_lines: type: string
description: The last part of the file.
Function: touch
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: Create a new file of any extension in the current directory.

Parameters:
type: dict
properties: file_name: type: string
description: The name of the new file in the current directory. file_name is local to the current directory and does not allow path.
required: file_name

Response:
type: dict
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:
type: dict
properties: 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: file_name

Response:
type: dict
properties: 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"]