messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_int_to_str\", \"description\": \"Converts an integer to its base 10 string representation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"num\": {\"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_profile_series\", \"description\": \"Fetches time series snapshots of a profile from the OutSystems Community API.\", \"parameters\": {\"profile_id\": {\"description\": \"The unique identifier of the profile for w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"numbers_translator\", \"description\": \"Converts a numerical text string into its spelled-out form using an external API.\", \"parameters\": {\"text\": {\"description\": \"Numerical text to be converted. Defaults to ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"count_bits\", \"description\": \"Counts the number of set bits (1's) in the binary representation of a number.\", \"parameters\": {\"num\": {\"description\": \"The input number.\", \"type\": \"int\"}}}, {\"name\": \"w...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"real_time_price\", \"description\": \"Retrieves the real-time price of the specified financial instrument.\", \"parameters\": {\"symbol\": {\"description\": \"The instrument symbol, which can be any equity, index, ETF...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"count_bits\", \"description\": \"Counts the number of set bits (1's) in the binary representation of a number.\", \"parameters\": {\"num\": {\"description\": \"The input number.\", \"type\": \"int\"}}}, {\"name\": \"l...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_all_less_than_one\", \"description\": \"Checks if all numbers in the list are less than one.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"numbers\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"competition_details\", \"description\": \"Retrieve detailed information about a specific competition.\", \"parameters\": {\"competition\": {\"description\": \"The ID of the competition.\", \"type\": \"int\", \"default...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"batting_average\", \"description\": \"Calculates the batting average of a baseball player based on the number of hits and at-bats.\", \"parameters\": {\"num_hits\": {\"description\": \"The number of hits.\", \"type\":...
[ { "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": "Determ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_if_all_elements_are_equal\", \"description\": \"Determines if all elements in the array are equal to the given target value.\", \"parameters\": {\"type\": \"object\", \"pro...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"least_common_multiple\", \"description\": \"Computes the least common multiple (LCM) of two positive integers.\", \"parameters\": {\"a\": {\"description\": \"The first positive integer.\", \"type\": \"int\"}, \"b\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_specific_event_information\", \"description\": \"Fetch and return information for a specific event using the event identifier.\", \"parameters\": {\"eventidentifier\": {\"description\": \"Unique identifier for the...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"pack_data_into_bitfield\", \"description\": \"Packs a list of integers into a single bitfield variable as a hexadecimal string.\", \"parameters\": {\"type\": \"object\", \"proper...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_string_to_floats\", \"description\": \"Converts a string containing two numbers separated by a space into a tuple of two floating-point numbers.\", \"parameters\": {\"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"gaussian_density\", \"description\": \"Calculates the density of a given value `x` with respect to a Gaussian distribution.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getmediumquestion\", \"description\": \"Fetches the number of medium-level questions solved by the given user from the LeetCode API.\", \"parameters\": {\"username\": {\"description\": \"The username of the LeetCode u...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"codes\", \"description\": \"This function searches for information based on the provided code using the Postali API.\", \"parameters\": {\"code\": {\"description\": \"The code to be searched.\", \"type\": \"str\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"search_video_list_by_keywords\", \"description\": \"Search for videos on TikTok by specified keywords and additional filtering options.\", \"parameters\": {\"keywords\": {\"description\": \"Keywords to search videos f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"leagues\", \"description\": \"Retrieves a list of sports leagues using the provided RapidAPI key.\", \"parameters\": {\"lang\": {\"description\": \"Language code for the response (e.g., 'en' for English).\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_champions\", \"description\": \"Fetches a list of all champions from the League of Legends API, optionally in a specified language.\", \"parameters\": {\"lang\": {\"description\": \"The language in which to retrie...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_first_even_index_with_even_value\", \"description\": \"Finds the first index where the current element and the next one are both even.\", \"parameters\": {\"type\": \"object...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"auto_complete\", \"description\": \"Fetch auto-complete suggestions for a given query using the Wayfair API.\", \"parameters\": {\"query\": {\"description\": \"The term or phrase for which auto-complete suggestions ar...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"check_special_word_suffix\", \"description\": \"Checks if a given file contains at least one word that starts with a special word and ends with a special suffix.\", \"parameters\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"phone_number\", \"description\": \"Validates a given phone number using the Phone and Email Validator API from RapidAPI.\", \"parameters\": {\"phone\": {\"description\": \"The phone number to be validated in E164 form...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"patreon\", \"description\": \"Check the availability of a given username on Patreon using the Toolbench RapidAPI service.\", \"parameters\": {\"username\": {\"description\": \"The username to be checked on Patreon.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"specifications_by_group\", \"description\": \"Fetches specified groups of specifications for a given motorcycle article from the Motorcycle Specs Database API.\", \"parameters\": {\"specs\": {\"description\": \"The ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"generate_pdf\", \"description\": \"Generates a PDF by capturing a screenshot of the provided website URL with specified dimensions using the Web Capture API.\", \"parameters\": {\"width\": {\"description\": \"The widt...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"stock_get_annual_avg_div_yield\", \"description\": \"Fetches the annual average dividend yield for a given stock symbol.\", \"parameters\": {\"symbol\": {\"description\": \"The ticker symbol of the stock (e.g., \\\"AA...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"binary_search\", \"description\": \"Performs binary search on a sorted list to find the index of a target value.\", \"parameters\": {\"arr\": {\"description\": \"The sorted list of integers.\", \"type\": \"List[int]\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_laws_for_one_state\", \"description\": \"Retrieves gun law documentation links for a specific U.S. state using the provided RapidAPI key.\", \"parameters\": {\"statename\": {\"description\": \"The name of the stat...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_longest_word\", \"description\": \"Finds the longest word in a list of words.\", \"parameters\": {\"words\": {\"description\": \"A list of words.\", \"type\": \"List[str]\"}}}, {\"name\": \"find_majority_element\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"dictionary_checker\", \"description\": \"Checks if a key exists in a dictionary and returns the associated value or a message.\", \"parameters\": {\"type\": \"object\", \"propert...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"init_list_with_none\", \"description\": \"Initializes an empty list with a given length and fills it with None values.\", \"parameters\": {\"type\": \"object\", \"properties\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"reverse_by_delimiter\", \"description\": \"Reverses a string by splitting it based on a given delimiter and rejoining it.\", \"parameters\": {\"type\": \"object\", \"properties\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"list_to_base27\", \"description\": \"Converts a given list of numbers to a single string representing their decimal value in a base 27 numeral system.\", \"parameters\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"product_by_id\", \"description\": \"Fetches detailed information about a specific product from the AliExpress API using the provided product ID.\", \"parameters\": {\"product_id\": {\"description\": \"The unique ident...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"filter_list_of_lists\", \"description\": \"Filters a list of lists to return only those sublists whose length is not 0.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"crimes_with_no_location\", \"description\": \"Fetches a list of crimes from a specified police force on a given date and category, where the crimes have no specified location.\", \"parameters\": {\"date\": {\"descript...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"wrt_transformer\", \"description\": \"Processes text input to identify entities using the Walnut Entity Recognition API.\", \"parameters\": {\"payload\": {\"description\": \"The text input to be processed.\", \"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"map_indices\", \"description\": \"Maps the indices from the indices_list to their corresponding values in the input array.\", \"parameters\": {\"type\": \"object\", \"properties\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_temperature\", \"description\": \"Formats the current temperature in degrees Celsius.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"temperature_f\": {\"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"daily_forecast_5_days\", \"description\": \"Fetch a 5-day daily weather forecast for the specified geographic coordinates.\", \"parameters\": {\"longitude\": {\"description\": \"The longitude of the location for which...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_leap_year\", \"description\": \"Checks if a year is a leap year.\", \"parameters\": {\"year\": {\"description\": \"The year to check.\", \"type\": \"int\"}}}, {\"name\": \"reserve_hotel_room\", \"description\": \"R...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"data_breach_checker_endpoint\", \"description\": \"Checks if the given email has been compromised in any known data breaches using the Data Breach Checker API.\", \"parameters\": {\"email\": {\"description\": \"The em...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_min_cost_path\", \"description\": \"Finds the minimum cost path from the start position to the bottom right corner of the cost matrix.\", \"parameters\": {\"type\": \"object...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"generate_wallet\", \"description\": \"Generate a new cryptocurrency wallet for a specified blockchain.\", \"parameters\": {\"chain\": {\"description\": \"The blockchain for which to generate the wallet. Supported valu...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"schools_list\", \"description\": \"Fetches a list of schools around a specified geographical location.\", \"parameters\": {\"lat\": {\"description\": \"The latitude of the geographical location.\", \"type\": \"int\", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_dict_to_json_str\", \"description\": \"Converts a dictionary to a JSON-like string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"dictionary\": {\"type\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"title_v2_get_business\", \"description\": \"Retrieves box office information for a given movie title from the online movie database using the provided API key.\", \"parameters\": {\"tconst\": {\"description\": \"The i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getproductsku\", \"description\": \"Fetches price information for a product identified by its SKU from the RapidAPI price tracker service.\", \"parameters\": {\"product_sku\": {\"description\": \"The SKU (Stock Keepin...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getdirectdebitinitiationinstruction\", \"description\": \"Retrieve a direct debit initiation instruction by UETR ID.\", \"parameters\": {\"uetr\": {\"description\": \"An RFC4122 UID used as a unique Payment Instructio...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"line_through_two_points\", \"description\": \"Determines if there is a line that can be drawn on a plane that passes through exactly two of the given points.\", \"parameters\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_single_user\", \"description\": \"Retrieves individual user data for a provided user ID from the RapidAPI service.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the user for which to retrieve data.\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"analyze\", \"description\": \"Analyzes the page speed of a given URL using the specified strategy and category.\", \"parameters\": {\"url\": {\"description\": \"The URL of the page to be analyzed.\", \"type\": \"str\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"ratio_from_counts\", \"description\": \"Calculate the ratio of positive to negative counts.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"pos\": {\"type\": \"integ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"string_to_csv\", \"description\": \"Converts a string into a string of comma-separated values (CSV).\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_string\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_ip_zipcode\", \"description\": \"Retrieves the ZIP code of a given IP address using the ip-api.com API.\", \"parameters\": {\"ip\": {\"description\": \"The IP address to locate.\", \"type\": \"str\"}}}, {\"name\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"convert_dict_to_url_encoding\", \"description\": \"Converts a dictionary to a URL-encoded string.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"dictionary\": {\"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_cities\", \"description\": \"Fetches a list of cities within a specified region of a country using the provided RapidAPI key.\", \"parameters\": {\"region_code\": {\"description\": \"The code of the region for whi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_anagram_phrase\", \"description\": \"Checks if two phrases are anagrams of each other, ignoring whitespace and punctuation.\", \"parameters\": {\"phrase1\": {\"description\": \"The first phrase.\", \"type\": \"str\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"set_default_options\", \"description\": \"Sets default options for a configuration dictionary if they are not already present.\", \"parameters\": {\"type\": \"object\", \"propert...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_student_grade_average\", \"description\": \"Calculates the average grade of all students in the given list of student dictionaries.\", \"parameters\": {\"type\": \"object\", ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_missing_ranges\", \"description\": \"Finds the missing ranges between lower and upper in a sorted list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The sorted list of integers.\", \"type\": \"Li...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"match_second_dict\", \"description\": \"Checks if the second dictionary contains exactly one key with the same value as a list element in the first dictionary.\", \"parameters\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_rotation\", \"description\": \"Checks if one string is a rotation of another string.\", \"parameters\": {\"str1\": {\"description\": \"The first string.\", \"type\": \"str\"}, \"str2\": {\"description\": \"The seco...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sort_integers\", \"description\": \"Sorts a list of integers in ascending order, treating None and NaN values as zero.\", \"parameters\": {\"type\": \"object\", \"properties\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"chunkify\", \"description\": \"Splits a list into smaller chunks of the given size.\\n\\nIf the last chunk is smaller than the specified size, it is included in the output.\\nThe...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"rotate_trajectories\", \"description\": \"Rotates a list of 2D vehicle trajectories from the Frenet frame to the inertial frame.\", \"parameters\": {\"type\": \"object\", \"prope...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_vessels_by_ship_name\", \"description\": \"Fetches vessel information based on the given ship name using the RapidAPI service.\", \"parameters\": {\"name\": {\"description\": \"The name of the ship for which to re...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"potential_energy\", \"description\": \"Calculates the electrostatic potential energy given the charge and voltage.\", \"parameters\": {\"charge\": {\"description\": \"The electric charge.\", \"type\": \"float\"}, \"vo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"replace_template\", \"description\": \"Replaces placeholders in the template string with corresponding values from the input string.\", \"parameters\": {\"type\": \"object\", \"p...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"list\", \"description\": \"Fetches a full list of expired user details from the OnlyFans API.\", \"parameters\": {\"sort\": {\"description\": \"Sorting order for the results.\", \"type\": \"str\", \"default\": \"\"}, ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"count_vowels\", \"description\": \"Counts the number of vowels in a given text.\", \"parameters\": {\"text\": {\"description\": \"The input text.\", \"type\": \"str\"}}}, {\"name\": \"generate_random_string\", \"descr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"integer_to_string\", \"description\": \"Converts an integer to a string with commas separating every three digits.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"nu...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_coin_price_difference\", \"description\": \"Fetches the price difference of a specified cryptocurrency from the Crypto Arbitrage Trading API using the provided RapidAPI key.\", \"parameters\": {\"name\": {\"descri...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_polygon_svg\", \"description\": \"Generates a string representation of a polygon in SVG format.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"vertices\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"batting_average\", \"description\": \"Calculates the batting average of a baseball player based on the number of hits and at-bats.\", \"parameters\": {\"num_hits\": {\"description\": \"The number of hits.\", \"type\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"difficulty\", \"description\": \"Fetches weed strain information based on the difficulty of growing (easy, medium, or difficult).\", \"parameters\": {\"difficulty\": {\"description\": \"The difficulty level of growing...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"annotate_genomic_features\", \"description\": \"Annotates each genomic feature in a list with its start and end positions, separated by a dash (-), in the format `feature_name(st...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"initialize_scores\", \"description\": \"Initializes a dictionary with keys as names and values as their scores.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"a\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"single_country\", \"description\": \"Fetch all details of a country by its ID from the PageantDB API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the country to retrieve details for.\", \"type\": \"in...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"flag_riddle\", \"description\": \"Flags a riddle for further review using the specified criteria.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier of the riddle to be flagged.\", \"type\": \"st...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_all_images_of_an_collection\", \"description\": \"Fetches all images from a specified collection using the Pulsar6 API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the collection to retrieve image...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"greatest_common_divisor\", \"description\": \"Computes the greatest common divisor (GCD) of two non-negative integers.\", \"parameters\": {\"a\": {\"description\": \"The first non-negative integer.\", \"type\": \"int\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_api_endpoint\", \"description\": \"Generates a REST API endpoint URL.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"base_url\": {\"type\": \"string\", \"d...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_grade\", \"description\": \"Calculates the weighted average grade based on scores and their corresponding weights.\", \"parameters\": {\"scores\": {\"description\": \"A list of scores.\", \"type\": \"List[fl...
[ { "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\": \"get_first_matching_value\", \"description\": \"Gets the first value matching a given key from a list of dictionaries.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_stores\", \"description\": \"Fetches a list of stores from the \\\"Get Promo Codes\\\" API.\", \"parameters\": {\"page\": {\"description\": \"The page number for pagination. Defaults to 1.\", \"type\": \"int, opti...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"mfs_family_list\", \"description\": \"Fetch a list of mutual fund families from the Twelve Data API, optionally filtering by country and fund family.\", \"parameters\": {\"country\": {\"description\": \"Filter results...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_ids_and_names\", \"description\": \"Formats a list of dictionaries containing 'id' and 'name' into a list of strings.\", \"parameters\": {\"type\": \"object\", \"propertie...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_edge_weight\", \"description\": \"Calculates the edge weight between two strings based on their similarity.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"generate_random_string\", \"description\": \"Generates a random string of specified length and character types.\", \"parameters\": {\"length\": {\"description\": \"The length of the random string.\", \"type\": \"int\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_with_type\", \"description\": \"Formats a list of strings according to the specified type.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"input_list\": {\"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_missing_number\", \"description\": \"Finds the missing number in a list of integers from 0 to n.\", \"parameters\": {\"nums\": {\"description\": \"The list of integers.\", \"type\": \"List[int]\"}}}, {\"name\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"format_write_string\", \"description\": \"Formats a string into chunks of no more than 100 characters, wraps each chunk in double quotes, \\nand writes the formatted string to a ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"all_same\", \"description\": \"Checks if all elements in the list are the same.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {\"type\": \"array\", \"descri...