messages
listlengths
3
3
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"compute_iou\", \"description\": \"Computes the intersection over union (IoU) value for two bounding boxes.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"box_a\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_aligned\", \"description\": \"Checks if a line segment defined by two points is aligned with the horizontal or vertical axis.\", \"parameters\": {\"type\": \"object\", \"prope...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"expand_ranges\", \"description\": \"Expands a list of range tuples into a sorted list of all numbers in those ranges.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"find_length\", \"description\": \"Finds the length of a list using a counting loop.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {\"type\": \"array\", \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"classification\", \"description\": \"Gets the K\\u00f6ppen climate classification code for the given longitude and latitude coordinates.\", \"parameters\": {\"lon\": {\"description\": \"The longitude coordinate.\", \"...
[ { "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: [{\"name\": \"get_job_by_task_id\", \"description\": \"Fetches the job and action job status associated with the given task ID from the MidJourney API.\", \"parameters\": {\"task_id\": {\"description\": \"The unique identifier for ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_cpython_tags\", \"description\": \"Returns the CPython tag for the given object.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"obj\": {\"description\": \"The o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_of_integer_values\", \"description\": \"Returns the sum of all values that correspond to keys that are integers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_sql_command\", \"description\": \"Generates a SQL command to create a table with columns based on the role.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"related_videos\", \"description\": \"Fetches videos related to a specified video using the YouTube V3 API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the video for which to fetch related videos.\", \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"cnpj\", \"description\": \"Fetches company information based on the provided CNPJ (Brazilian company identifier).\", \"parameters\": {\"cnpj\": {\"description\": \"The CNPJ number of the company to search for.\", \"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_pictionary_word\", \"description\": \"Retrieve a random Pictionary word with a specified difficulty level from the Toolbench RapidAPI.\", \"parameters\": {\"difficulty\": {\"description\": \"The difficulty level o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_a_specific_champion_s_base_stats\", \"description\": \"Fetches the base stats of a specified League of Legends champion using the provided RapidAPI key.\", \"parameters\": {\"name\": {\"description\": \"The name o...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_distance\", \"description\": \"Calculates the Euclidean distance between two points in n-dimensional space.\", \"parameters\": {\"point1\": {\"description\": \"The coordinates of the first point.\", \"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"is_port_open\", \"description\": \"Checks if a port is open on a given host.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"host\": {\"type\": \"string\", \"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"assess_diabetes_risk\", \"description\": \"Assesses the risk of developing type 2 diabetes based on body mass index (BMI) and physical activity level.\", \"parameters\": {\"weight_lbs\": {\"description\": \"Body weigh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"numerology\", \"description\": \"Calculates the numerology information of a given name by making a request to the horoscope-astrology API using RapidAPI.\", \"parameters\": {\"n\": {\"description\": \"The name for whi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"expand_around_center\", \"description\": \"Helper function to expand around a center for finding palindromic substrings.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}, \"left\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"place_safeway_order\", \"description\": \"Order specified items from a Safeway location.\", \"parameters\": {\"location\": {\"description\": \"The location of the Safeway store, e.g., 'Palo Alto, CA'.\", \"type\": \"s...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_largest_value_index\", \"description\": \"Returns the index of the largest value in the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"x\": {\"type\": \"a...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"search_and_decode_base64\", \"description\": \"Reads a file, searches for base64 encoded strings, decodes them, and prints the decoded strings.\", \"parameters\": {\"type\": \"ob...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"searchdomain\", \"description\": \"Fetches webpage data from the \\\"pages-hosted-on-domain\\\" API based on the provided filters and parameters.\", \"parameters\": {\"matchtype\": {\"description\": \"The type of matc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"permutation_count\", \"description\": \"Calculates the number of permutations of k elements from a set of n elements.\", \"parameters\": {\"n\": {\"description\": \"The total number of elements in the set.\", \"type\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_a_random_quote_from_a_specific_book\", \"description\": \"Fetches a random quote from a specific self-help book using its book ID.\", \"parameters\": {\"book_id\": {\"description\": \"The identifier for the specif...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"generate_regex_from_list_of_words\", \"description\": \"Generates a regular expression that matches any of the given words.\", \"parameters\": {\"type\": \"object\", \"properties...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sorted_list_intersection\", \"description\": \"Calculates the intersection of two sorted lists.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"list1\": {\"type\": \...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_hotel_available\", \"description\": \"Checks the availability of a hotel for a given date range.\", \"parameters\": {\"hotel\": {\"description\": \"The name of the hotel.\", \"type\": \"str\"}, \"city\": {\"descrip...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"verify_plate_number_location\", \"description\": \"Fetches information about the state and LGA (Local Government Area) associated with a given Nigerian plate number code.\", \"parameters\": {\"platecodeloc\": {\"descr...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_first_element_in_second_list\", \"description\": \"Returns the first element in the second list that appears in the first list, or None if no such element exists.\", \"parame...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"exchange\", \"description\": \"Calculates the minimum number of coins needed to make the target amount.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"denominations...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"us_ia\", \"description\": \"Retrieves current or historical gas price data for Iowa.\", \"parameters\": {\"date\": {\"description\": \"Specific date for querying historical data starting from 2023-06-01. Defaults to N...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"triangle_area\", \"description\": \"Computes the area of a triangle given its base and height.\", \"parameters\": {\"base\": {\"description\": \"The length of the base of the triangle.\", \"type\": \"float\"}, \"heigh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"linear_regression_prediction\", \"description\": \"Predicts the y-value for a given x-value using linear regression.\", \"parameters\": {\"x_values\": {\"description\": \"The x-coordinates of the data points.\", \"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"decode_rle\", \"description\": \"Decodes a string in RLE (run-length encoding) format to its original representation.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"nearby_google\", \"description\": \"Returns a JSON array of nearby places sorted by distance from the origin coordinates in ascending order.\", \"parameters\": {\"lat\": {\"description\": \"Latitude of the location to...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"parse_score\", \"description\": \"Parses a string of the form 'a + bi' and returns a tuple of the form (a', b'), where a' and b' are the a and b values, respectively, converted t...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"products\", \"description\": \"Searches for product rankings based on a given query using the SEO API.\", \"parameters\": {\"query\": {\"description\": \"The search term to query for product rankings.\", \"type\": \"s...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"consulta_por_cnpj\", \"description\": \"Fetches data and information for a given CNPJ.\", \"parameters\": {\"cnpj\": {\"description\": \"The CNPJ number to be queried.\", \"type\": \"str\", \"default\": \"157544750001...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"tz_lookup_by_location\", \"description\": \"Fetches time zone information for a given geographic location using Stadia Maps Time Zone API.\", \"parameters\": {\"lat\": {\"description\": \"The latitude component of a g...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_user_info\", \"description\": \"Fetch all information about a specific user on Likee using the provided username.\", \"parameters\": {\"username\": {\"description\": \"The Likee username to fetch information for. ...
[ { "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\": \"structural_analysis\", \"description\": \"Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.\", \"parameters\": {\"building_id\": {\"description\": \"The unique identifier of...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"unify_dicts\", \"description\": \"Unifies the contents of two dictionaries such that dict1 is updated with the contents of dict2.\", \"parameters\": {\"type\": \"object\", \"prop...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"schedules_list\", \"description\": \"Fetches a list of scheduled matches based on the provided type and optional pagination information.\", \"parameters\": {\"type\": {\"description\": \"Type of schedule to fetch. One...
[ { "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\": \"triangle_area\", \"description\": \"Computes the area of a triangle given its base and height.\", \"parameters\": {\"base\": {\"description\": \"The length of the base of the triangle.\", \"type\": \"float\"}, \"heigh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_user_id_by_username\", \"description\": \"Fetch the Instagram user ID associated with a given username.\", \"parameters\": {\"username\": {\"description\": \"The Instagram username for which the user ID needs to b...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"remove_final_extension\", \"description\": \"Removes the final extension from the filename in the given path.\\n\\nIf the filename has multiple extensions, removes all but the fi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"airport_info\", \"description\": \"Fetches and returns detailed information about an airport using its IATA code from the Airports Info API.\", \"parameters\": {\"iata\": {\"description\": \"The IATA code of the airpo...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"even_index_filter\", \"description\": \"Returns a new list with all items that are both present in the original list and at an even index.\", \"parameters\": {\"type\": \"object\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"filter_by_time_window\", \"description\": \"Filters a DataFrame by a time window.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"df\": {\"type\": \"object\", \"desc...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"get_subject_path\", \"description\": \"Gets the path to the subject's directory, creating it if necessary.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"subject_id...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"feeds_list_similarities\", \"description\": \"Fetches a list of similar recipes based on the given parameters.\", \"parameters\": {\"is_id\": {\"description\": \"The unique identifier for the recipe, typically obtaine...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_regions\", \"description\": \"Fetches the regions of a specified country using the provided API key.\", \"parameters\": {\"country_code\": {\"description\": \"The ISO code of the country for which regions are to b...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"prediction_details\", \"description\": \"Fetches and returns detailed prediction information for a given football match.\", \"parameters\": {\"match_id\": {\"description\": \"The unique identifier for the football mat...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sum_key\", \"description\": \"Returns the sum of a specified key across all dictionaries in the list.\\n\\nIf the specified key is not present in any of the dictionaries, returns...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_parentheses\", \"description\": \"Checks if a string contains valid parentheses.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}}}, {\"name\": \"calculate_grade\", \"des...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"load_from_json_file\", \"description\": \"Loads and parses JSON data from a file.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"file_path\": {\"type\": \"string\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"i18nregions\", \"description\": \"Fetches a list of content regions supported by the YouTube website.\", \"parameters\": {\"part\": {\"description\": \"Specifies the i18nRegion resource properties that the API respons...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"us_ak\", \"description\": \"Fetches current or historical gas price data for Alaska.\", \"parameters\": {\"date\": {\"description\": \"A string representing a date in 'YYYY-MM-DD' format to query historical gas price ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"expand_around_center\", \"description\": \"Helper function to expand around a center for finding palindromic substrings.\", \"parameters\": {\"s\": {\"description\": \"The input string.\", \"type\": \"str\"}, \"left\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_max_subarray_sum\", \"description\": \"Finds the maximum sum of a contiguous subarray within a list of integers.\", \"parameters\": {\"nums\": {\"description\": \"The input list of integers.\", \"type\": \"List[i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_card_game_probability\", \"description\": \"Calculate the probability of drawing a certain number of desired cards from a deck.\", \"parameters\": {\"total_cards\": {\"description\": \"Total number of cards ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"f\", \"description\": \"Returns a tuple containing the first element of the list and the length of the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"string_to_uuid\", \"description\": \"Converts a string into a UUID object, handling null and incorrect inputs safely.\", \"parameters\": {\"type\": \"object\", \"properties\": {\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"remove_autopersonalization_from_message\", \"description\": \"Removes the substring 'I am will' (case-insensitive) from the message and normalizes it.\", \"parameters\": {\"type\...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_property_type_filters\", \"description\": \"Retrieves property type filters from the Airbnb API.\", \"parameters\": {\"languageid\": {\"description\": \"The language ID for the requested response. To get the langu...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"fetch_by_region\", \"description\": \"Fetches records by region from the Magical Taske API.\", \"parameters\": {\"region\": {\"description\": \"The region for which to fetch records.\", \"type\": \"str\", \"default\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"calculate_flux\", \"description\": \"Calculate the flux from a given magnitude, absolute magnitude, and reference flux.\", \"parameters\": {\"type\": \"object\", \"properties\": ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"compose_string\", \"description\": \"Composes two strings based on specific rules.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"string_1\": {\"type\": \"string\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"string_to_integer_list\", \"description\": \"Converts a string to a list of integers where each integer corresponds to the ASCII value of a character in the string.\", \"paramete...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"player_data\", \"description\": \"Fetches player data from the sports API using the provided player ID.\", \"parameters\": {\"player_id\": {\"description\": \"The ID of the player whose data is to be fetched.\", \"typ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_valid_email\", \"description\": \"Checks if an email address is valid.\", \"parameters\": {\"email\": {\"description\": \"The email address to validate.\", \"type\": \"str\"}}}]" }, { "role": "user", "c...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"is_a_coordinate_water\", \"description\": \"Determines if a given coordinate on Earth is water based on the provided longitude and latitude.\", \"parameters\": {\"longitude\": {\"description\": \"The longitude of the ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_hourly_forecast\", \"description\": \"Retrieves the hourly weather forecast for a specified city using the RapidAPI Cloud Cast service.\", \"parameters\": {\"city\": {\"description\": \"The name of the city for wh...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"analysis\", \"description\": \"Analyze, validate, and parse the content of a given email address using the Metropolis API.\", \"parameters\": {\"email\": {\"description\": \"The email address to be analyzed.\", \"type...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"single_cat_breed\", \"description\": \"Fetches details of a single cat breed using the provided breed ID from the Cat Breed Database API.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the cat breed to f...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"verify_an_email\", \"description\": \"Verifies a single email address using the Blaze Verify API. If a verification request takes longer than the specified timeout, retries are allowed for up to 5 minutes. The verific...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_biden_articles_from_specific_newspaper\", \"description\": \"Fetches all articles related to Biden from a specified newspaper using a given API key.\", \"parameters\": {\"newspaper\": {\"description\": \"The name ...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"categoryflag\", \"description\": \"Fetches the flag image of a specific category in PNG format from the Motorsport API.\", \"parameters\": {\"flag\": {\"description\": \"The name of the flag category to fetch.\", \"ty...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"market_growth_technology_stocks\", \"description\": \"Retrieves a list of technology stocks with revenue and earnings growth in excess of 25% from the mboum-finance API.\", \"parameters\": {\"start\": {\"description\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"song_download\", \"description\": \"Downloads a song from the provided SoundCloud URL using the specified RapidAPI key.\", \"parameters\": {\"track_url\": {\"description\": \"The URL of the SoundCloud track to be down...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"calculate_median\", \"description\": \"Calculates the median of a list of numbers.\", \"parameters\": {\"numbers\": {\"description\": \"The list of numbers.\", \"type\": \"List[Union[int, float]]\"}}}, {\"name\": \"de...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"construct_http_header\", \"description\": \"Constructs an HTTP header string from a dictionary of headers.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"headers_di...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"bin_numbers\", \"description\": \"Bins numbers into four different ranges based on the specified criteria.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"numbers\":...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"heuristic\", \"description\": \"Calculates the Manhattan distance between the current position and the goal.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"position...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_all_food\", \"description\": \"Fetches a list of Ghanaian foods including ingredients and a short description from the specified API endpoint.\", \"parameters\": {\"page\": {\"description\": \"The page number to r...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"note_duration\", \"description\": \"Calculates the duration between two musical notes based on their frequencies and the tempo.\", \"parameters\": {\"freq1\": {\"description\": \"The frequency of the first note in Hz....
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"dice_roll_probability\", \"description\": \"Calculates the probability of rolling a specific sum with a given number of dice, each having a certain number of faces.\", \"parameters\": {\"target_sum\": {\"description\"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"wire_resistance\", \"description\": \"Calculates the resistance of a wire based on its length, cross-sectional area, and material resistivity.\", \"parameters\": {\"length_m\": {\"description\": \"The length of the wi...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"rental_settings\", \"description\": \"python\", \"parameters\": {\"location\": {\"description\": \"The location for which the rental settings are to be fetched.\", \"type\": \"str\", \"default\": \"santa monica\"}, \"...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"find_n_largest_numbers\", \"description\": \"Finds the n largest numbers in a list.\", \"parameters\": {\"nums\": {\"description\": \"The list of numbers.\", \"type\": \"List[int]\"}, \"n\": {\"description\": \"The nu...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"get_product\", \"description\": \"Fetches product details from a RapidAPI endpoint using the provided product ID and RapidAPI key.\", \"parameters\": {\"is_id\": {\"description\": \"The ID of the product to retrieve i...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"doji\", \"description\": \"Fetches a list of stocks having a Doji signal from the specified page using the Toolbench RapidAPI service.\", \"parameters\": {\"page\": {\"description\": \"The page number to fetch the Doj...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_vectors\", \"description\": \"Adds two vectors.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"vec1\": {\"type\": \"array\", \"items\": {\"type\": \"integer\"},...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"name\": \"getsearchresults\", \"description\": \"Fetches the results from a specific YouTube influencer search using the provided search ID.\", \"parameters\": {\"is_id\": {\"description\": \"Unique identifier of the search.\",...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"remove_none_from_list\", \"description\": \"Removes all None items from the list.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"lst\": {\"type\": \"array\", \"item...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"add_commas\", \"description\": \"Returns a string representation of the integer with commas added between every three digits from the right.\", \"parameters\": {\"type\": \"objec...
[ { "role": "system", "content": "You are a helpful assistant.\nList of tools: [{\"type\": \"function\", \"function\": {\"name\": \"sort_dict_by_values_descending\", \"description\": \"Sorts a dictionary by its values in descending order while retaining the original keys.\", \"parameters\": {\"type\": \"objec...