hui107/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:
type: dict
properties: user_name: type: string
description: User name of contact to be added.
required: user_name

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

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

Parameters:
type: dict

Response:
type: dict
properties: 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: 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:
type: dict
properties: user_id: type: string
description: User ID of the user to log in. 
required: user_id

Response:
type: dict
properties: 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:
type: dict
properties: keyword: type: string
description: The keyword to search for in messages.
required: keyword

Response:
type: dict
properties: 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:
type: dict
properties: receiver_id: type: string
description: User ID of the user to send the message to.
message: type: string
description: Message to be sent.
required: receiver_id, message

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