messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"find_pairs_with_sum\", \"desc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"chat\", \"description\": \"Communicates with the AI chatbot via RapidAPI and returns the chatbot's response.\", \"parameters\": {\"uid\": {\"description\": \"User Identification for personalized response and response ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_calorie_intake\", \"description\": \"Calculates the recommended daily calorie intake and macronutrient distribution based on personal characteristics and goals.\", \"parameters\": {\"weight_kg\": {\"descript...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"linear_slope_and_intercept\", \"description\": \"Finds the best-fit line for data points represented by lists `x` and `y`, and returns the slope and intercept.\", \"parameters\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getweatherforecast\", \"description\": \"Fetches the weather forecast for a given location over a specified number of days.\", \"parameters\": {\"location\": {\"description\": \"The name of the city or location for wh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_file_readable\", \"description\": \"Checks if the file at the given path exists and is readable.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"file_path\": {\"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"first_1000_distinct_chars\", \"description\": \"Returns the first 1000 distinct characters of a string as a list, ordered by their first appearance.\", \"parameters\": {\"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"shares_float\", \"description\": \"Provides the current shares float for a given stock symbol using the Holistic Finance Stock Data API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol for which t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extended_gcd\", \"description\": \"Extended Euclidean Algorithm to find the greatest common divisor of a and b\\nand the coefficients of B\\u00e9zout's identity.\", \"parameters\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"matchodds\", \"description\": \"Fetch the betting odds for a specific American Football match by providing the match ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the match for which to retrieve the...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}, {\"name\": \"mean_confidence_i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"has_duplicate_words\", \"description\": \"Checks if the input string contains at least one duplicate word.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"communes_par_code_commune\", \"description\": \"Fetch details of a commune using its code via the RapidAPI.\", \"parameters\": {\"code_com\": {\"description\": \"The code of the commune to retrieve details for.\", \"t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"ev\", \"description\": \"Fetch data from the EV API with optional pagination support by specifying the page number.\", \"parameters\": {\"page\": {\"description\": \"The page number for pagination, default is 2.\", \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"feeds_auto_complete\", \"description\": \"Fetches auto-complete suggestions for food names or ingredients from the Yummly API.\", \"parameters\": {\"q\": {\"description\": \"The food name or ingredient to get auto-com...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"flatten_list\", \"description\": \"Flattens a nested list into a single-level list.\", \"parameters\": {\"nested_list\": {\"description\": \"The nested list to be flattened.\", \"type\": \"List\"}}}, {\"name\": \"remo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_vector_tile\", \"description\": \"Fetches vector tiles based on the OpenMapTiles schema using the provided x, y, and z coordinates.\", \"parameters\": {\"x\": {\"description\": \"The X coordinate of the tile.\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"abs\", \"description\": \"Calculates the absolute value of a number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"integer\", \"description\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_label_detection\", \"description\": \"This function interacts with the RapidAPI Label Detection service to get label information for a given image URL. \", \"parameters\": {\"image\": {\"description\": \"The URL o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_string_format\", \"description\": \"Checks if the given string is in the format 'X:Y' where X and Y are non-negative integers.\", \"parameters\": {\"type\": \"object\", \"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"extract_fast\", \"description\": \"Extracts and validates phone or cell numbers from the given text based on a specified country.\", \"parameters\": {\"country\": {\"description\": \"Country name or ISO2/ISO3 code to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"title_get_technical\", \"description\": \"Fetches technical information for a movie or TV show using its tconst identifier and RapidAPI key.\", \"parameters\": {\"tconst\": {\"description\": \"The unique identifier fo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_sample_userprofile\", \"description\": \"Generates fake user profile sample data using an external API.\", \"parameters\": {\"count\": {\"description\": \"The number of profiles to generate. Defaults to 2. Maximum...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"solve_quadratic\", \"description\": \"Computes the roots of a quadratic equation given its coefficients.\", \"parameters\": {\"a\": {\"description\": \"The coefficient of the quadratic term (x^2).\", \"type\": \"float...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"protocol\", \"description\": \"Fetch protocol details using a given protocol ID.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the protocol to retrieve details for.\", \"type\": \"str\", \"default\": \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_connected\", \"description\": \"Determines if all vertices in an undirected graph are connected.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"graph\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"symbols_get_option_expirations\", \"description\": \"Fetches the option expiration dates for a given symbol from the Seeking Alpha API.\", \"parameters\": {\"symbol\": {\"description\": \"The stock symbol to query for...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"airports_direct_routes_for_an_airport\", \"description\": \"Returns a list of direct routes for a given airport using the RapidAPI service.\", \"parameters\": {\"airportiatacode\": {\"description\": \"The IATA code of...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_error_code\", \"description\": \"Checks if a given HTTP status code is an error code (4xx or 5xx).\", \"parameters\": {\"type\": \"object\", \"properties\": {\"status_code\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"bacterial_growth\", \"description\": \"Calculates the bacterial population after a given time based on the initial population and growth rate.\", \"parameters\": {\"initial_population\": {\"description\": \"The initia...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"list_of_lists_to_list\", \"description\": \"Flattens a list of lists into a single list containing all of the elements.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"compound_interest\", \"description\": \"Calculates the compound interest of an investment.\", \"parameters\": {\"principal\": {\"description\": \"The initial investment amount.\", \"type\": \"float\", \"default\": 1},...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_event_today\", \"description\": \"Checks if the event is happening today based on the local date.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"event_time\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"first_two_repeated\", \"description\": \"Returns a new string composed of the first two characters of the original string, repeated three times.\\nIf the input string has less th...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"min_value\", \"description\": \"Calculates and returns the minimum value in a list of numbers, ignoring non-numeric values.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"ticker\", \"description\": \"Fetches financial data for a given ticker symbol using the RapidAPI service.\", \"parameters\": {\"t\": {\"description\": \"The ticker symbol for the financial instrument. Examples include...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_nested_dict_to_key_value_pairs\", \"description\": \"Converts a nested dictionary into a list of key-value pairs, where each key is prepended with the given prefix string...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"qrcode\", \"description\": \"Generates a base64 QR code image using the provided name and API key.\", \"parameters\": {\"name\": {\"description\": \"The name to encode in the QR code.\", \"type\": \"str\", \"default\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_weekly_popular_books_by_genre\", \"description\": \"Retrieve the most popular books from the past week based on a specified genre.\", \"parameters\": {\"genre\": {\"description\": \"The genre of books to retrieve....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_perfect_square\", \"description\": \"Checks if a number is a perfect square.\", \"parameters\": {\"num\": {\"description\": \"The number to check.\", \"type\": \"int\"}}}, {\"name\": \"integrate\", \"description\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"format\", \"description\": \"Retrieve and return data in the specified format from the IP Geo Location and IP Reputation API.\", \"parameters\": {\"format\": {\"description\": \"The format to display data. Can be eith...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search_autocomplete_api\", \"description\": \"Search or Autocomplete API returns matching cities and towns based on the query.\", \"parameters\": {\"q\": {\"description\": \"Query parameter used to obtain matching loc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_user_playlists\", \"description\": \"Fetch all public playlists of a specific user from the Spotify API.\", \"parameters\": {\"user_id\": {\"description\": \"The ID of the user whose playlists are to be fetched.\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_x_and_y\", \"description\": \"Returns a tuple of the values associated with the keys 'x' and 'y' from the input dictionary.\", \"parameters\": {\"type\": \"object\", \"proper...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"real_time_information\", \"description\": \"Fetches real-time information from the BART API based on the provided command and origin station.\", \"parameters\": {\"cmd\": {\"description\": \"Command parameter for the ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_palindrome\", \"description\": \"Checks if a string is a palindrome.\", \"parameters\": {\"text\": {\"description\": \"The input string.\", \"type\": \"str\"}}}]" }, { "role": "user", "content": "Is 'ra...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"products_search_by_barcode\", \"description\": \"Search for a product in the Kohl's database using its UPC barcode.\", \"parameters\": {\"upc\": {\"description\": \"The Universal Product Code of the product to be sear...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"translate_dict_keys\", \"description\": \"Translates the keys of a dictionary based on a provided translation mapping.\", \"parameters\": {\"type\": \"object\", \"properties\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_coin_price\", \"description\": \"Fetches the price of a specified cryptocurrency at a specific time.\", \"parameters\": {\"uuid\": {\"description\": \"UUID of the cryptocurrency for which the price is needed.\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getforecastweather\", \"description\": \"Fetches weather forecast data for a specified city using the OpenWeatherMap API.\", \"parameters\": {\"q\": {\"description\": \"The city name for which the weather forecast is ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"v1_whois\", \"description\": \"Fetches the WHOIS information for a given domain using the API Ninjas Whois API.\", \"parameters\": {\"domain\": {\"description\": \"The domain to retrieve WHOIS information for.\", \"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"tensor_equal\", \"description\": \"Checks the equality of two tensors.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"tensor1\": {\"type\": \"object\", \"descriptio...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"v1_sentiment\", \"description\": \"Performs sentiment analysis on the provided block of text using the API Ninjas sentiment analysis service.\", \"parameters\": {\"text\": {\"description\": \"The input text for sentim...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"multiply_complex_matrices\", \"description\": \"Multiplies two matrices of complex numbers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"A\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_with_type_checks\", \"description\": \"Sums the values in a list, where integers and floats are added directly and strings contribute their length.\", \"parameters\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"deepcopy_dict\", \"description\": \"Performs a deep copy of a dictionary with possible nested dictionaries.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"d\": {\"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_narrow_build\", \"description\": \"Determines whether the current Python interpreter is a narrow build.\", \"parameters\": {\"type\": \"object\", \"properties\": {}}}}, {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_hex_id\", \"description\": \"Generates a unique hexadecimal ID consisting of 8 digits, formatted with hyphens.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"verify_string_length\", \"description\": \"Checks if the length of the input string is at least 3 characters.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_s...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_anagram\", \"description\": \"Checks if two words are anagrams of each other.\", \"parameters\": {\"word1\": {\"description\": \"The first word.\", \"type\": \"str\"}, \"word2\": {\"description\": \"The second word...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"extract_data_from_filename\", \"description\": \"Extracts data from a filename and returns a dictionary with specific keys.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getgroups\", \"description\": \"Fetches the WhatsApp groups associated with the provided phone ID using the Maytapi API.\", \"parameters\": {\"phone_id\": {\"description\": \"The ID of the phone whose WhatsApp groups ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"fighter\", \"description\": \"Fetches the details of a single fighter given their ID using the Spectation Sports Events API.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the fighter to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"email_validate_regex\", \"description\": \"Validates an email address using the Email Validator API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be validated.\", \"type\": \"str\", \"defaul...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getweatherforecast\", \"description\": \"Fetches the weather forecast for a given location over a specified number of days.\", \"parameters\": {\"location\": {\"description\": \"The name of the city or location for wh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"circle_area\", \"description\": \"Computes the area of a circle given its radius.\", \"parameters\": {\"radius\": {\"description\": \"The radius of the circle.\", \"type\": \"float\"}}}, {\"name\": \"binomial_probabil...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"trim_output_line\", \"description\": \"Trims leading and trailing whitespace from a string. Raises an exception if the input is not a string.\", \"parameters\": {\"type\": \"obje...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_unique_ints\", \"description\": \"Returns a list of unique integers from the input list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ints\": {\"type\": \"arr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"precision\", \"description\": \"Computes the precision metric from a confusion matrix.\\n\\nThe confusion matrix should be a 2 x 2 matrix, with predicted labels in the columns\\n...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"predict_forest_area\", \"description\": \"Predicts the change in forest area over a specified number of years.\", \"parameters\": {\"location\": {\"description\": \"The geographic location for the prediction.\", \"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"int_to_big_endian\", \"description\": \"Converts an integer to a big endian byte array of a fixed length.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"number\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"baseball_match_statistics\", \"description\": \"Fetches and returns statistics for a specified baseball match.\", \"parameters\": {\"match_id\": {\"description\": \"The unique identifier for the baseball match to retr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_maximum_and_minimum\", \"description\": \"Retrieves the maximum and minimum values from a dictionary of numbers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"reciprocal\", \"description\": \"Calculates the reciprocal of an integer.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"n\": {\"type\": \"integer\", \"description\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"hostname_from_ip\", \"description\": \"Resolves the hostname from a given IP address.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"ip_address\": {\"type\": \"stri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getmodalityvalues\", \"description\": \"Fetches modality values from the TCIA API based on the specified parameters.\", \"parameters\": {\"collection\": {\"description\": \"A label used to name a set of images collect...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"top_free_ios_apps\", \"description\": \"Retrieves a list of the top free iOS apps from the App Store using the RapidAPI service.\", \"parameters\": {\"lang\": {\"description\": \"The language code for the results (def...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_coverage_file\", \"description\": \"Parses a coverage file in XML format and returns a dictionary mapping each line number to the number of times that line was executed.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_ip_address\", \"description\": \"Checks if a string is a valid IP address (IPv4).\", \"parameters\": {\"ip\": {\"description\": \"The string to check.\", \"type\": \"str\"}}}, {\"name\": \"is_valid_email\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_rectangular_boundaries\", \"description\": \"Calculates the boundaries of a rectangle based on the given center, width, height, and optional border.\", \"parameters\": {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"concat_vectors\", \"description\": \"Concatenates two 1-D numpy arrays.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"a\": {\"type\": \"object\", \"description\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sort_and_sum_first_three_elements\", \"description\": \"Sorts a dictionary by values and sums the values of the first three smallest elements.\", \"parameters\": {\"type\": \"obj...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"format_date\", \"description\": \"Converts a date string from one format to another.\", \"parameters\": {\"date\": {\"description\": \"The date string to convert.\", \"type\": \"str\"}, \"input_format\": {\"descriptio...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"project_investment_growth\", \"description\": \"Projects the growth of an investment over a specified number of years.\", \"parameters\": {\"principal\": {\"description\": \"The initial investment amount.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"has_path_dfs\", \"description\": \"Determines if there is a path between two vertices in a directed graph using DFS.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"remove_first_two_chars\", \"description\": \"Removes the first two characters from a given string.\\n\\nIf the string's length is less than 2, returns an empty string.\", \"param...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"health\", \"description\": \"Fetches health-related news from Google News using the provided language region and API key.\", \"parameters\": {\"lr\": {\"description\": \"Language region for the news, e.g., 'en-US'.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cities_v2_get_measurements\", \"description\": \"Fetches air quality and weather measurements for a specified city using its ID.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the city, a...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"feeds_auto_complete\", \"description\": \"Fetches auto-complete suggestions for food names or ingredients from the Yummly API.\", \"parameters\": {\"q\": {\"description\": \"The food name or ingredient to get auto-com...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"append_headers\", \"description\": \"Appends HTTP headers to the end of a URL.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"url\": {\"type\": \"string\", \"descri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"new_board\", \"description\": \"Returns a 2D list of 0s with dimensions 8 x 8.\", \"parameters\": {\"type\": \"object\", \"properties\": {}}}}]" }, { "role": "user", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_paragraph_html\", \"description\": \"Generates HTML text for a paragraph.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"bacterial_growth\", \"description\": \"Calculates the bacterial population after a given time based on the initial population and growth rate.\", \"parameters\": {\"initial_population\": {\"description\": \"The initia...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"count_matching_events\", \"description\": \"Counts the number of events that have the same `user_id` and `event_type` as the first event in the array.\", \"parameters\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getallcountry\", \"description\": \"Fetches the list of country names via an API based on the provided query parameters.\", \"parameters\": {\"limit\": {\"description\": \"The maximum number of items per page. Default...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"gas_price\", \"description\": \"Fetches the current gas price for a specified blockchain using a single API call.\", \"parameters\": {\"chain\": {\"description\": \"The blockchain to get the current gas price for. Sup...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_uuid_to_base32\", \"description\": \"Converts a UUID in string representation to a base32-encoded string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"uui...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_instance_of_specific_class\", \"description\": \"Checks if the given object is an instance of the specified class or any of its subclasses.\", \"parameters\": {\"type\": \"obj...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"city_list\", \"description\": \"Fetches a list of valid cities for a given province using the Canadian Gas Prices API.\", \"parameters\": {\"province\": {\"description\": \"The name of the province for which to fetch ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"swap_by_index\", \"description\": \"Swaps the values at index i and j in the given list of integers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"values\": {\"typ...