BitAgent/bfcl_shuffle_full 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
Response:
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
Response:
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:
Response:
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:
user_id: type: string
description: User ID of the user to log in. 
Required parameters: user_id
Response:
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
Response:
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
Response:
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.