Felix-Ma/Berkeley-Function-Calling-Leaderboard huggingface dataset:
Function: authenticate_twitter
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Authenticate a user with username and password.
Parameters: username: type: string
description: Username of the user.
password: type: string
description: Password of the user.
Required parameters: username, password
Returns: authentication_status: type: boolean
description: True if authenticated, False otherwise.
Function: comment
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Comment on a tweet for the authenticated user.
Parameters: tweet_id: type: integer
description: ID of the tweet to comment on.
comment_content: type: string
description: Content of the comment.
Required parameters: tweet_id, comment_content
Returns: comment_status: type: string
description: Status of the comment action.
Function: follow_user
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Follow a user for the authenticated user.
Parameters: username_to_follow: type: string
description: Username of the user to follow.
Required parameters: username_to_follow
Returns: follow_status: type: boolean
description: True if followed, False if already following.
Function: get_tweet
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Retrieve a specific tweet.
Parameters: tweet_id: type: integer
description: ID of the tweet to retrieve.
Required parameters: tweet_id
Returns: id: type: integer
description: ID of the retrieved tweet.
username: type: string
description: Username of the tweet's author.
content: type: string
description: Content of the tweet.
tags: type: array
description: List of tags associated with the tweet.
items: type: string
mentions: type: array
description: List of users mentioned in the tweet.
items: type: string
Function: get_tweet_comments
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Retrieve all comments for a specific tweet.
Parameters: tweet_id: type: integer
description: ID of the tweet to retrieve comments for.
Required parameters: tweet_id
Returns: comments: type: array
description: List of dictionaries, each containing comment information.
items: type: dict
properties: username: type: string
description: Username of the commenter.
content: type: string
description: Content of the comment.
Function: get_user_stats
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Get statistics for a specific user.
Parameters: username: type: string
description: Username of the user to get statistics for.
Required parameters: username
Returns: tweet_count: type: integer
description: Number of tweets posted by the user.
following_count: type: integer
description: Number of users the specified user is following.
retweet_count: type: integer
description: Number of retweets made by the user.
Function: get_user_tweets
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Retrieve all tweets from a specific user.
Parameters: username: type: string
description: Username of the user whose tweets to retrieve.
Required parameters: username
Returns: user_tweets: type: array
description: List of dictionaries, each containing tweet information.
items: type: dict
properties: id: type: integer
description: ID of the retrieved tweet.
username: type: string
description: Username of the tweet's author.
content: type: string
description: Content of the tweet.
tags: type: array
description: List of tags associated with the tweet.
items: type: string
mentions: type: array
description: List of users mentioned in the tweet.
items: type: string
Function: list_all_following
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: List all users that the authenticated user is following.
Returns: following_list: type: array
description: List of all users that the authenticated user is following.
items: type: string
Function: mention
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Mention specified users in a tweet.
Parameters: tweet_id: type: integer
description: ID of the tweet where users are mentioned.
mentioned_usernames: type: array
items: type: string
description: List of usernames to be mentioned.
Required parameters: tweet_id, mentioned_usernames
Returns: mention_status: type: string
description: Status of the mention action.
Function: post_tweet
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Post a tweet for the authenticated user.
Parameters: content: type: string
description: Content of the tweet.
tags: type: array
items: type: string
description: List of tags for the tweet. Tag name should start with #. This is only relevant if the user wants to add tags to the tweet.
mentions: type: array
items: type: string
description: List of users mentioned in the tweet. Mention name should start with @. This is only relevant if the user wants to add mentions to the tweet.
Required parameters: content
Returns: id: type: integer
description: ID of the posted tweet.
username: type: string
description: Username of the poster.
content: type: string
description: Content of the tweet.
tags: type: array
description: List of tags associated with the tweet.
items: type: string
mentions: type: array
description: List of users mentioned in the tweet.
items: type: string
Function: posting_get_login_status
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. 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: retweet
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Retweet a tweet for the authenticated user.
Parameters: tweet_id: type: integer
description: ID of the tweet to retweet.
Required parameters: tweet_id
Returns: retweet_status: type: string
description: Status of the retweet action.
Function: search_tweets
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Search for tweets containing a specific keyword.
Parameters: keyword: type: string
description: Keyword to search for in the content of the tweets.
Required parameters: keyword
Returns: matching_tweets: type: array
description: List of dictionaries, each containing tweet information.
items: type: dict
properties: id: type: integer
description: ID of the retrieved tweet.
username: type: string
description: Username of the tweet's author.
content: type: string
description: Content of the tweet.
tags: type: array
description: List of tags associated with the tweet.
items: type: string
mentions: type: array
description: List of users mentioned in the tweet.
items: type: string
Function: unfollow_user
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Unfollow a user for the authenticated user.
Parameters: username_to_unfollow: type: string
description: Username of the user to unfollow.
Required parameters: username_to_unfollow
Returns: unfollow_status: type: boolean
description: True if unfollowed, False if not following.