Felix-Ma/Berkeley-Function-Calling-Leaderboard huggingface dataset:
Function: add_contact
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Add a contact to the workspace.
Parameters: user_name: type: string
description: User name of contact to be added.
Required parameters: user_name
Returns: added_status: type: boolean
description: True if the contact was added successfully, False otherwise.
user_id: type: string
description: User ID of the added contact.
message: type: string
description: A message describing the result of the addition attempt.
Function: delete_message
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Delete the latest message sent to a receiver.
Parameters: receiver_id: type: string
description: User ID of the user to send the message to.
message_id: type: integer
description: ID of the message to be deleted.
Required parameters: receiver_id
Returns: deleted_status: type: boolean
description: True if the message was deleted successfully, False otherwise.
message_id: type: integer
description: ID of the deleted message.
message: type: string
description: A message describing the result of the deletion attempt.
Function: get_message_stats
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Get statistics about messages for the current user.
Returns: stats: type: dict
description: Dictionary containing message statistics.
properties: received_count: type: integer
description: Number of messages received by the current user.
total_contacts: type: integer
description: Total number of contacts the user has interacted with.
Function: get_user_id
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Get user ID from user name.
Parameters: user: type: string
description: User name of the user. 
Required parameters: user
Returns: user_id: type: string
description: User ID of the user
Function: list_users
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: List all users in the workspace.
Returns: user_list: type: array
description: List of all users in the workspace.
items: type: string
Function: message_get_login_status
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Get the login status of the current user.
Returns: login_status: type: boolean
description: True if the current user is logged in, False otherwise.
Function: message_login
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Log in a user with the given user ID to messeage application.
Parameters: user_id: type: string
description: User ID of the user to log in. 
Required parameters: user_id
Returns: login_status: type: boolean
description: True if login was successful, False otherwise.
message: type: string
description: A message describing the result of the login attempt.
Function: search_messages
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Search for messages containing a specific keyword.
Parameters: keyword: type: string
description: The keyword to search for in messages.
Required parameters: keyword
Returns: results: type: array
description: List of dictionaries containing matching messages.
items: type: dict
properties: receiver_id: type: string
description: User ID of the receiver of the message.
message: type: string
description: The message containing the keyword.
Function: send_message
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: Send a message to a user.
Parameters: receiver_id: type: string
description: User ID of the user to send the message to.
message: type: string
description: Message to be sent.
Required parameters: receiver_id, message
Returns: sent_status: type: boolean
description: True if the message was sent successfully, False otherwise.
message_id: type: integer
description: ID of the sent message.
message: type: string
description: A message describing the result of the send attempt.
Function: view_messages_sent
This tool belongs to the Message API, which is used to manage user interactions in a workspace. Tool description: View all historical messages sent by the current user.
Returns: messages: type: dict
description: Dictionary of messages grouped by receiver An example of the messages dictionary is {"USR001":["Hello"],"USR002":["World"]}.