minpeter/bfcl-v1-non-live-ast-parsed huggingface dataset:
Available tools:
[{"type": "function", "function": {"name": "math_toolkit_sum_of_multiples", "description": "Find the sum of all multiples of specified numbers within a specified range.", "parameters": {"type": "dict", "properties": {"lower_limit": {"type": "integer", "description": "The start of the range (inclusive)."}, "upper_limit": {"type": "integer", "description": "The end of the range (inclusive)."}, "multiples": {"type": "array", "items": {"type": "integer"}, "description": "The numbers to find multiples of."}}, "required": ["lower_limit", "upper_limit", "multiples"]}}}, {"type": "function", "function": {"name": "math_toolkit_product_of_primes", "description": "Find the product of the first n prime numbers.", "parameters": {"type": "dict", "properties": {"count": {"type": "integer", "description": "The number of prime numbers to multiply together."}}, "required": ["count"]}}}]

user: Find the sum of all the multiples of 3 and 5 between 1 and 1000. Also find the product of the first five prime numbers.
Available tools:
[{"type": "function", "function": {"name": "volume_cylinder_calculate", "description": "Calculate the volume of a cylinder given the radius and the height.", "parameters": {"type": "dict", "properties": {"radius": {"type": "float", "description": "The radius of the cylinder."}, "height": {"type": "float", "description": "The height of the cylinder."}}, "required": ["radius", "height"]}}}, {"type": "function", "function": {"name": "area_rectangle_calculate", "description": "Calculate the area of a rectangle given the length and breadth.", "parameters": {"type": "dict", "properties": {"length": {"type": "float", "description": "The length of the rectangle."}, "breadth": {"type": "float", "description": "The breadth of the rectangle."}}, "required": ["length", "breadth"]}}}, {"type": "function", "function": {"name": "area_circle_calculate", "description": "Calculate the area of a circle given the radius.", "parameters": {"type": "dict", "properties": {"radius": {"type": "float", "description": "The radius of the circle."}}, "required": ["radius"]}}}]

user: Find the area of a rectangle with length 7 and breadth 3. Also, calculate the area of a circle with radius 5.
Available tools:
[{"type": "function", "function": {"name": "circle_calculate_circumference", "description": "Calculate the circumference of a circle based on the diameter.", "parameters": {"type": "dict", "properties": {"diameter": {"type": "integer", "description": "The diameter of the circle."}}, "required": ["diameter"]}}}, {"type": "function", "function": {"name": "circle_calculate_area", "description": "Calculate the area of a circle based on the radius.", "parameters": {"type": "dict", "properties": {"radius": {"type": "integer", "description": "The radius of the circle."}}, "required": ["radius"]}}}, {"type": "function", "function": {"name": "rectangle_calculate_perimeter", "description": "Calculate the perimeter of a rectangle based on the length and breadth.", "parameters": {"type": "dict", "properties": {"length": {"type": "integer", "description": "The length of the rectangle."}, "breadth": {"type": "integer", "description": "The breadth of the rectangle."}}, "required": ["length", "breadth"]}}}]

user: Find the area and perimeter of a circle with a radius of 5 and also find the circumference of a circle with diameter of 10.
Available tools:
[{"type": "function", "function": {"name": "integral", "description": "Calculate the definite integral of a function over an interval [a, b].", "parameters": {"type": "dict", "properties": {"function": {"type": "string", "description": "The function to integrate."}, "a": {"type": "float", "description": "The lower bound of the interval."}, "b": {"type": "float", "description": "The upper bound of the interval."}}, "required": ["function", "a", "b"]}}}, {"type": "function", "function": {"name": "get_rectangle_property", "description": "Get specific property of the rectangle (like length, width) based on perimeter and area.", "parameters": {"type": "dict", "properties": {"perimeter": {"type": "integer", "description": "Perimeter of the rectangle."}, "area": {"type": "integer", "description": "Area of the rectangle."}, "property": {"type": "string", "description": "Specific property required. It can be length, width or diagonal."}, "tolerance": {"type": "float", "description": "Allowed error for calculations. (optional) Default 0.1"}}, "required": ["perimeter", "area", "property"]}}}]

user: What are the length and the width of a rectangle which has a perimeter of 14 and area of 15.
Available tools:
[{"type": "function", "function": {"name": "integral", "description": "Calculate the definite integral of a function over an interval [a, b].", "parameters": {"type": "dict", "properties": {"function": {"type": "string", "description": "The function to integrate."}, "a": {"type": "float", "description": "The lower bound of the interval."}, "b": {"type": "float", "description": "The upper bound of the interval."}}, "required": ["function", "a", "b"]}}}, {"type": "function", "function": {"name": "derivative", "description": "Find the derivative of a function at a certain point.", "parameters": {"type": "dict", "properties": {"function": {"type": "string", "description": "The function to differentiate."}, "x": {"type": "float", "description": "The point to calculate the derivative at."}}, "required": ["function", "x"]}}}]

user: Calculate the area under the curve from x=1 to x=5 for the function f(x)=x^2. And find the derivative at x=3.
Available tools:
[{"type": "function", "function": {"name": "primeFactors", "description": "Find all prime factors of an integer.", "parameters": {"type": "dict", "properties": {"num": {"type": "integer", "description": "The integer."}, "withMultiplicity": {"type": "boolean", "description": "If true, includes the multiplicity of each factor.", "default": "false"}}, "required": ["num"]}}}, {"type": "function", "function": {"name": "lcm", "description": "Calculate the least common multiple of two integers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "The first integer."}, "num2": {"type": "integer", "description": "The second integer."}}, "required": ["num1", "num2"]}}}, {"type": "function", "function": {"name": "gcd", "description": "Calculate the greatest common divisor of two integers.", "parameters": {"type": "dict", "properties": {"num1": {"type": "integer", "description": "The first integer."}, "num2": {"type": "integer", "description": "The second integer."}}, "required": ["num1", "num2"]}}}]

user: Calculate the Greatest Common Divisor (GCD) of 96 and 128, and the least common multiple (LCM) of 15 and 25.
Available tools:
[{"type": "function", "function": {"name": "count_items", "description": "Count the number of items in a collection.", "parameters": {"type": "dict", "properties": {"collection": {"type": "array", "items": {"type": "string"}, "description": "The collection of items to count"}}, "required": ["collection"]}}}, {"type": "function", "function": {"name": "find_prime_numbers", "description": "Locate all prime numbers in a specific number range.", "parameters": {"type": "dict", "properties": {"start": {"type": "integer", "description": "The start of the number range"}, "end": {"type": "integer", "description": "The end of the number range"}}, "required": ["start", "end"]}}}, {"type": "function", "function": {"name": "get_fibonacci_sequence", "description": "Generate a Fibonacci sequence up to a specific number of items.", "parameters": {"type": "dict", "properties": {"count": {"type": "integer", "description": "The number of items to generate"}}, "required": ["count"]}}}]

user: Find all prime numbers between 50 and 150. Then get the fibonacci series upto 150.
Available tools:
[{"type": "function", "function": {"name": "physics_calculate_force", "description": "Calculate the force required to move an object of a particular mass at a particular acceleration.", "parameters": {"type": "dict", "properties": {"mass": {"type": "integer", "description": "The mass of the object in kg."}, "acceleration": {"type": "integer", "description": "The acceleration of the object in m/s^2."}}, "required": ["mass", "acceleration"]}}}, {"type": "function", "function": {"name": "kinematics_calculate_time", "description": "Calculate time required for an object to travel a particular distance at a particular velocity.", "parameters": {"type": "dict", "properties": {"velocity": {"type": "integer", "description": "The velocity of the object in m/s."}, "distance": {"type": "integer", "description": "The distance covered by the object in meters."}}, "required": ["velocity", "distance"]}}}]

user: Calculate the time required for a car moving at 50 m/s to travel a distance of 600 m. Also calculate the time required for a bullet moving at 400 m/s to cover a distance of 1000 m.
Available tools:
[{"type": "function", "function": {"name": "kinematics_distance_traveled", "description": "Computes the total distance covered by a moving object given initial velocity, acceleration and time.", "parameters": {"type": "dict", "properties": {"initial_velocity": {"type": "float", "description": "The initial velocity of the object in m/s."}, "acceleration": {"type": "float", "description": "The acceleration of the object in m/s^2."}, "time": {"type": "float", "description": "The time for which the object has been moving in seconds."}}, "required": ["initial_velocity", "acceleration", "time"]}}}, {"type": "function", "function": {"name": "kinematics_final_velocity", "description": "Calculates the final velocity of a moving object given initial velocity, acceleration and time.", "parameters": {"type": "dict", "properties": {"initial_velocity": {"type": "float", "description": "The initial velocity of the object in m/s."}, "acceleration": {"type": "float", "description": "The acceleration of the object in m/s^2."}, "time": {"type": "float", "description": "The time for which the object has been moving in seconds."}}, "required": ["initial_velocity", "acceleration", "time"]}}}]

user: Calculate the final velocity of a moving object given initial velocity of 20 m/s, acceleration of 5 m/s^2 and time of 6 seconds. Also, compute the total distance covered by the object.
Available tools:
[{"type": "function", "function": {"name": "flight_book", "description": "Book a flight for a specific route and airlines", "parameters": {"type": "dict", "properties": {"_from": {"type": "string", "description": "The departure city in full name."}, "to": {"type": "string", "description": "The arrival city in full name."}, "airlines": {"type": "string", "description": "The preferred airline."}}, "required": ["_from", "to", "airlines"]}}}, {"type": "function", "function": {"name": "hotel_book", "description": "Book a hotel for a specific location for the number of nights", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city where the hotel is located."}, "nights": {"type": "integer", "description": "Number of nights for the stay."}}, "required": ["location", "nights"]}}}]

user: Book a flight from Seattle to Boston with American Airlines and book a hotel in Boston for 4 nights.
Available tools:
[{"type": "function", "function": {"name": "train_ticket_buy", "description": "Buy a train ticket for a specific date and route.", "parameters": {"type": "dict", "properties": {"origin": {"type": "string", "description": "The departure full name of the city."}, "destination": {"type": "string", "description": "The destination city."}, "date": {"type": "string", "description": "The date when the journey should be, in the format of yyyy-mm-dd."}}, "required": ["origin", "destination", "date"]}}}, {"type": "function", "function": {"name": "musical_ticket_buy", "description": "Buy a ticket for a musical", "parameters": {"type": "dict", "properties": {"show": {"type": "string", "description": "Name of the show."}, "date": {"type": "string", "description": "Date when the ticket should be bought for."}}, "required": ["show", "date"]}}}, {"type": "function", "function": {"name": "concert_ticket_buy", "description": "Buy a concert ticket", "parameters": {"type": "dict", "properties": {"artist": {"type": "string", "description": "Name of the artist."}, "date": {"type": "string", "description": "Date of the concert."}}, "required": ["artist", "date"]}}}]

user: Buy me a ticket to the Mamma Mia musical for next Friday, June 30th 2023, also get me a train ticket from New York to Chicago for the same day.
Available tools:
[{"type": "function", "function": {"name": "physics_magnetic_field", "description": "Calculate magnetic field for given current flowing through solenoid.", "parameters": {"type": "dict", "properties": {"current": {"type": "float", "description": "Electric current in Amperes."}, "turnsPerMeter": {"type": "float", "description": "Number of turns of solenoid per meter."}, "length": {"type": "float", "description": "Length of the solenoid in meters."}}, "required": ["current", "turnsPerMeter", "length"]}}}, {"type": "function", "function": {"name": "physics_electric_field", "description": "Calculate electric field for a given point charge and distance.", "parameters": {"type": "dict", "properties": {"charge": {"type": "float", "description": "Value of point charge in Coulombs."}, "distance": {"type": "float", "description": "Distance from the point charge in meters."}}, "required": ["charge", "distance"]}}}]

user: What is the Electric field at 3m from a point charge with a value of 4C? Also, calculate the magnetic field for an electric current of 0.5A flowing through a solenoid having 25 turns per meter and a length of 2m.
Available tools:
[{"type": "function", "function": {"name": "calculate_voltage_difference", "description": "Calculate the voltage difference between two points in an electric field.", "parameters": {"type": "dict", "properties": {"electric_field": {"type": "float", "description": "The electric field in newtons per coulomb."}, "distance": {"type": "float", "description": "The distance between the two points in the direction of the field in meters."}, "charge": {"type": "float", "description": "The charge of the test particle, typically an electron, in coulombs. Default to 0", "default": 0}}, "required": ["electric_field", "distance"]}}}, {"type": "function", "function": {"name": "calculate_magnetic_field", "description": "Calculate the magnetic field produced by a current-carrying wire.", "parameters": {"type": "dict", "properties": {"current": {"type": "float", "description": "The current in the wire in amperes."}, "distance": {"type": "float", "description": "The perpendicular distance from the wire in meters."}, "permeability": {"type": "float", "description": "The permeability of free space, a constant value. Default 0.1"}}, "required": ["current", "distance"]}}}]

user: Calculate the magnetic field produced by a wire carrying a current of 4 amps with a distance of 2 m from the wire. And find the voltage difference of a region in the direction of the electric field that is 3 m apart, assuming the electric field is 5 N/C.
Available tools:
[{"type": "function", "function": {"name": "temperature_converter_convert", "description": "Convert a temperature from one unit to another.", "parameters": {"type": "dict", "properties": {"temperature": {"type": "float", "description": "The temperature to convert."}, "from_unit": {"type": "string", "description": "The unit to convert from."}, "to_unit": {"type": "string", "description": "The unit to convert to."}, "round_to": {"type": "integer", "description": "The number of decimal places to round the result to. Defaults to 2."}}, "required": ["temperature", "from_unit", "to_unit"]}}}, {"type": "function", "function": {"name": "energy_calculator_calculate", "description": "Calculate the energy needed to heat a substance from an initial to a final temperature.", "parameters": {"type": "dict", "properties": {"substance": {"type": "string", "description": "The substance to be heated."}, "mass": {"type": "float", "description": "The mass of the substance in grams."}, "initial_temperature": {"type": "float", "description": "The initial temperature of the substance in degrees Celsius."}, "final_temperature": {"type": "float", "description": "The final temperature of the substance in degrees Celsius."}, "unit": {"type": "string", "description": "The unit to report the energy in. Options are 'joules' and 'calories'. Defaults to 'joules'."}}, "required": ["substance", "mass", "initial_temperature", "final_temperature"]}}}]

user: 'Calculate the energy required to heat 100 grams of water from 25 degrees Celsius to 100 degrees Celsius in joules, and also calculate the energy required to heat the same mass of Aluminium under same conditions in joules
Available tools:
[{"type": "function", "function": {"name": "crop_yield_get_history", "description": "Retrieve historical crop yield data of a specific crop in a given country.", "parameters": {"type": "dict", "properties": {"country": {"type": "string", "description": "The country of interest."}, "crop": {"type": "string", "description": "Type of crop."}, "years": {"type": "integer", "description": "Number of years of history to retrieve."}}, "required": ["country", "crop", "years"]}}}, {"type": "function", "function": {"name": "animal_population_get_history", "description": "Retrieve historical population size of a specific species in a given country.", "parameters": {"type": "dict", "properties": {"country": {"type": "string", "description": "The country of interest."}, "species": {"type": "string", "description": "Species of the animal."}, "years": {"type": "integer", "description": "Number of years of history to retrieve."}}, "required": ["country", "species", "years"]}}}, {"type": "function", "function": {"name": "animal_population_get_projection", "description": "Predict the future population size of a specific species in a given country.", "parameters": {"type": "dict", "properties": {"country": {"type": "string", "description": "The country of interest."}, "species": {"type": "string", "description": "Species of the animal."}, "years": {"type": "integer", "description": "Number of years in the future to predict."}}, "required": ["country", "species", "years"]}}}]

user: Give me the population size of tigers in Bangladesh and India for the last 5 years. Also provide the projected population size of tigers in Nepal and Malaysia for the next 10 years.
Available tools:
[{"type": "function", "function": {"name": "restaurant_search", "description": "Find a restaurant in a specified location based on the cuisine and ratings.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city and state, e.g. New York, NY"}, "cuisine": {"type": "string", "description": "The type of cuisine."}, "rating": {"type": "float", "description": "The minimum rating. Default 1.0"}}, "required": ["location", "cuisine"], "optional": ["rating"]}}}, {"type": "function", "function": {"name": "flight_search", "description": "Find flights between two cities.", "parameters": {"type": "dict", "properties": {"_from": {"type": "string", "description": "The departure city."}, "to": {"type": "string", "description": "The destination city."}, "type": {"type": "string", "description": "The type of flight e.g., one-way, round-trip"}}, "required": ["_from", "to", "type"]}}}]

user: Find a Chinese restaurant near me in New York and suggest a high-rated of 4 Italian restaurant in Los Angeles. Then find a cheapest flight for round-trip from New York to Los Angeles
Available tools:
[{"type": "function", "function": {"name": "calculate_fibonacci", "description": "Calculate the Fibonacci series up to a specific position.", "parameters": {"type": "dict", "properties": {"position": {"type": "integer", "description": "The position up to which you want to calculate the Fibonacci series."}}, "required": ["position"]}}}, {"type": "function", "function": {"name": "calculate_factorial", "description": "Calculate the factorial of a given number.", "parameters": {"type": "dict", "properties": {"number": {"type": "integer", "description": "The number of which you want to calculate the factorial."}}, "required": ["number"]}}}, {"type": "function", "function": {"name": "generate_prime", "description": "Generate prime numbers within a given range.", "parameters": {"type": "dict", "properties": {"start": {"type": "integer", "description": "The start of the range from which you want to find the prime numbers."}, "end": {"type": "integer", "description": "The end of the range from which you want to find the prime numbers."}}, "required": ["start", "end"]}}}]

user: Calculate the factorial of 8 and generate the prime numbers from 1 to 50.
Available tools:
[{"type": "function", "function": {"name": "payment_calculation", "description": "Calculate how much a person should pay given the items purchased and their quantities", "parameters": {"type": "dict", "properties": {"items": {"type": "array", "items": {"type": "string"}, "description": "List of items purchased."}, "quantities": {"type": "array", "items": {"type": "integer"}, "description": "Quantity of each item purchased in correspondence with the previous items list."}}, "required": ["items", "quantities"]}}}, {"type": "function", "function": {"name": "steps_calorie_calculation", "description": "Calculate how many steps you need to walk to burn a specified amount of calories.", "parameters": {"type": "dict", "properties": {"calorie": {"type": "float", "description": "The amount of calories to burn."}}, "required": ["calorie"]}}}, {"type": "function", "function": {"name": "hydration_calculator", "description": "Calculate the amount of water to drink in a day given the hours of exercise.", "parameters": {"type": "dict", "properties": {"exercise_time": {"type": "float", "description": "The number of hours of exercise."}}, "required": ["exercise_time"]}}}]

user: How many steps do I need to walk in order to lose 500 calories and how much water do I need to intake today if I exercise for 2 hours?
Available tools:
[{"type": "function", "function": {"name": "banking_service", "description": "Make a deposit to a given bank account", "parameters": {"type": "dict", "properties": {"account_id": {"type": "string", "description": "Target account to make deposit to."}, "amount": {"type": "float", "description": "Amount to deposit."}}, "required": ["account_id", "amount"]}}}, {"type": "function", "function": {"name": "currency_conversion", "description": "Convert a specific amount from one currency to another", "parameters": {"type": "dict", "properties": {"amount": {"type": "float", "description": "Amount to convert."}, "from_currency": {"type": "string", "description": "Source currency."}, "to_currency": {"type": "string", "description": "Target currency."}}, "required": ["amount", "from_currency", "to_currency"]}}}]

user: I need to convert 10 dollars to Euros and make a 10 dollar deposit in my local bank account with account number - 987654.
Available tools:
[{"type": "function", "function": {"name": "math_gaussian_integral", "description": "Perform Gaussian integration over the range of the function.", "parameters": {"type": "dict", "properties": {"function": {"type": "string", "description": "The function to integrate, given in terms of x."}, "lower_limit": {"type": "float", "description": "The lower limit of the integral."}, "upper_limit": {"type": "float", "description": "The upper limit of the integral."}}, "required": ["function", "lower_limit", "upper_limit"]}}}, {"type": "function", "function": {"name": "math_definite_integral", "description": "Calculate the definite integral of a function within specified bounds.", "parameters": {"type": "dict", "properties": {"function": {"type": "string", "description": "The function to integrate, given in terms of x."}, "lower_limit": {"type": "float", "description": "The lower limit of the integral."}, "upper_limit": {"type": "float", "description": "The upper limit of the integral."}}, "required": ["function", "lower_limit", "upper_limit"]}}}]

user: Perform Gaussian integral of the function exp(-x^2) from -2 to 2. Also calculate the definite integral from 0 to 3.1416 of sin(x).
Available tools:
[{"type": "function", "function": {"name": "statistics_variance", "description": "This function calculates the variance of a given set of numbers.", "parameters": {"type": "dict", "properties": {"data": {"type": "array", "items": {"type": "integer"}, "description": "The list of data points."}, "population": {"type": "boolean", "description": "Determines whether to use population variance formula. Default to True", "default": true}}, "required": ["data"]}}}, {"type": "function", "function": {"name": "statistics_median", "description": "This function returns the median of the data set provided.", "parameters": {"type": "dict", "properties": {"data": {"type": "array", "items": {"type": "integer"}, "description": "The list of data points."}}, "required": ["data"]}}}, {"type": "function", "function": {"name": "statistics_mode", "description": "This function determines the mode of a list of numbers.", "parameters": {"type": "dict", "properties": {"data": {"type": "array", "items": {"type": "integer"}, "description": "The list of data points."}}, "required": ["data"]}}}]

user: Determine the median and variance for the following data points 3,4,5,2,8,5. Also determine the mode for these points.
Available tools:
[{"type": "function", "function": {"name": "linear_regression_fit", "description": "Fit a linear regression model to data.", "parameters": {"type": "dict", "properties": {"x": {"type": "array", "items": {"type": "float"}, "description": "Array of the predictor variable."}, "y": {"type": "array", "items": {"type": "float"}, "description": "Array of the dependent variable."}, "return_residuals": {"type": "boolean", "description": "Flag indicating whether to return the residuals (the difference between the observed and predicted values). Optional.", "default": "false"}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "data_loading", "description": "Load data from a csv file into a data structure.", "parameters": {"type": "dict", "properties": {"file_path": {"type": "string", "description": "The path to the file to load."}, "delimiter": {"type": "string", "description": "The character used to separate values in the file. Optional.", "default": ","}}, "required": ["file_path"]}}}]

user: Use the data from dataset.csv file and fit a linear regression model to predict future sales by setting x=data['sales'] and y=data['future_sales']. Additionally, calculate and return the residuals.
Available tools:
[{"type": "function", "function": {"name": "financial_ratios_interest_coverage", "description": "Calculate a company's interest coverage ratio given the company name and duration", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The name of the company."}, "years": {"type": "integer", "description": "Number of past years to calculate the ratio."}}, "required": ["company_name", "years"]}}}, {"type": "function", "function": {"name": "sales_growth_calculate", "description": "Calculate a company's sales growth rate given the company name and duration", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company that you want to get the sales growth rate for."}, "years": {"type": "integer", "description": "Number of past years for which to calculate the sales growth rate."}}, "required": ["company", "years"]}}}, {"type": "function", "function": {"name": "weather_forecast", "description": "Retrieve a weather forecast for a specific location and time frame.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the weather for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}}]

user: Find me the sales growth rate for company XYZ for the last 3 years and also the interest coverage ratio for the same duration.
Available tools:
[{"type": "function", "function": {"name": "financial_ratio_net_profit_margin", "description": "Calculate net profit margin of a company given the net income and total revenue", "parameters": {"type": "dict", "properties": {"net_income": {"type": "integer", "description": "The net income of the company."}, "total_revenue": {"type": "integer", "description": "The total revenue of the company."}}, "required": ["net_income", "total_revenue"]}}}, {"type": "function", "function": {"name": "financial_ratio_debt_ratio", "description": "Calculate the debt ratio of a company given the total liabilities and total assets.", "parameters": {"type": "dict", "properties": {"total_liabilities": {"type": "integer", "description": "The total liabilities of the company."}, "total_assets": {"type": "integer", "description": "The total assets of the company."}}, "required": ["total_liabilities", "total_assets"]}}}]

user: Calculate the net profit margin of Company XYZ given that the net income is $20,000 and total revenue is $100,000. Also calculate the debt ratio of the same company if the total liabilities are $10,000 and total assets are $30,000.
Available tools:
[{"type": "function", "function": {"name": "investment_withdraw", "description": "Withdraw a specific amount from a company's stock.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company you want to withdraw from."}, "amount": {"type": "float", "description": "The amount you want to withdraw."}}, "required": ["company", "amount"]}}}, {"type": "function", "function": {"name": "investment_invest", "description": "Invest a specific amount in a company's stock.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company you want to invest in."}, "amount": {"type": "float", "description": "The amount you want to invest."}}, "required": ["company", "amount"]}}}]

user: Invest $2000 in Google and withdraw $1000 from Apple.
Available tools:
[{"type": "function", "function": {"name": "stock_invest_calculate_investment_cost", "description": "Calculate the cost of investing in a specific number of shares from a given company.", "parameters": {"type": "dict", "properties": {"company": {"type": "string", "description": "The company that you want to invest in."}, "shares": {"type": "integer", "description": "Number of shares to invest."}}, "required": ["company", "shares"]}}}, {"type": "function", "function": {"name": "stock_invest_calculate_dividend_payout", "description": "Calculate the total dividend payout for a specific number of shares with known dividend per share.", "parameters": {"type": "dict", "properties": {"shares": {"type": "integer", "description": "Number of shares to calculate dividends."}, "dividend_per_share": {"type": "float", "description": "Known dividend per share."}}, "required": ["shares", "dividend_per_share"]}}}]

user: How much would it cost me to invest in 50 shares of Apple's stock right now? Also calculate the total dividend payout if each share returns $1.30 as dividend.
Available tools:
[{"type": "function", "function": {"name": "bank_get_transaction_history", "description": "Retrieve transaction history for a specific bank account over a specified time frame.", "parameters": {"type": "dict", "properties": {"account": {"type": "string", "description": "The account number for which transaction history is required."}, "days": {"type": "integer", "description": "Number of past days for which to retrieve the transaction history."}}, "required": ["account", "days"]}}}, {"type": "function", "function": {"name": "bank_calculate_balance", "description": "Calculate the balance of a specified bank account based on the transactions.", "parameters": {"type": "dict", "properties": {"account": {"type": "string", "description": "The account number for which balance is to be calculated."}, "transactions": {"type": "array", "description": "Transaction array Default is empty array.", "items": {"type": "dict", "properties": {"amount": {"type": "float", "description": "The amount of the transaction. Default 0"}, "type": {"type": "string", "enum": ["credit", "debit"], "description": "Type of the transaction. Default is credit.", "default": "credit"}}}, "default": []}, "starting_balance": {"type": "float", "description": "The starting balance of the account, if known. Default 0.0"}}, "required": ["account"]}}}]

user: Get me the transaction history for my account '00125648' for the past 7 days and also calculate the total balance.
Available tools:
[{"type": "function", "function": {"name": "bank_account_transfer", "description": "Transfer a given amount from one account to another.", "parameters": {"type": "dict", "properties": {"from_account": {"type": "string", "description": "The account to transfer from."}, "to_account": {"type": "string", "description": "The account to transfer to."}, "amount": {"type": "float", "description": "The amount to be transferred."}}, "required": ["from_account", "to_account", "amount"]}}}, {"type": "function", "function": {"name": "bank_account_calculate_interest", "description": "Calculate the amount of interest accrued over a given time period.", "parameters": {"type": "dict", "properties": {"principal": {"type": "float", "description": "The initial amount of money."}, "rate": {"type": "float", "description": "The annual interest rate as a decimal."}, "time": {"type": "integer", "description": "The number of years the money is invested for."}}, "required": ["principal", "rate", "time"]}}}]

user: Transfer $5000 from my checking to saving account. And calculate my potential interests after 5 years if the annual interest rate is 3%.
Available tools:
[{"type": "function", "function": {"name": "criminal_record_get_offense_nature", "description": "Get details about the nature of offenses committed by a criminal.", "parameters": {"type": "dict", "properties": {"criminal_name": {"type": "string", "description": "Name of the criminal."}, "optional_param": {"type": "boolean", "description": "Optionally retrieve additional details, by default this is set to false."}}, "required": ["criminal_name"]}}}, {"type": "function", "function": {"name": "criminal_record_get_status", "description": "Find the conviction status of a criminal in a specified region.", "parameters": {"type": "dict", "properties": {"criminal_name": {"type": "string", "description": "Name of the criminal."}, "region": {"type": "string", "description": "Region where criminal record is to be searched."}}, "required": ["criminal_name", "region"]}}}]

user: Find the conviction status of a criminal with name John Doe in New York, also find the nature of the criminal offenses he committed.
Available tools:
[{"type": "function", "function": {"name": "briefs_display_cases", "description": "Display briefs of the cases", "parameters": {"type": "dict", "properties": {"case_id": {"type": "array", "items": {"type": "string"}, "description": "A list of unique identifiers for cases."}}, "required": ["case_id"]}}}, {"type": "function", "function": {"name": "court_records_search_cases", "description": "Search for court cases based on specific criteria.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city where the court is located"}, "query": {"type": "string", "description": "Search string to look for specific cases"}, "year": {"type": "integer", "description": "Year the case was filed"}, "limit": {"type": "integer", "description": "Limits the number of results returned", "default": 5}}, "required": ["location", "query", "year"]}}}]

user: Find cases that pertain to 'Theft' from court record in 'New York' and from 'San Francisco', filed in year 2021, and display briefs of top 5 relevant cases.
Available tools:
[{"type": "function", "function": {"name": "movie_ratings_get_movie", "description": "Get a movie by its name.", "parameters": {"type": "dict", "properties": {"movie_name": {"type": "string", "description": "The name of the movie to be retrieved"}}, "required": ["movie_name"]}}}, {"type": "function", "function": {"name": "legal_case_get_summary", "description": "Get a summary of a legal case", "parameters": {"type": "dict", "properties": {"case_id": {"type": "string", "description": "The unique ID of the case to summarise"}, "summary_type": {"type": "string", "description": "Type of the summary to get, e.g., brief, full", "default": "brief"}}, "required": ["case_id"], "optional": ["summary_type"]}}}, {"type": "function", "function": {"name": "legal_case_find_parties", "description": "Locate legal cases involving a specified party in a particular city", "parameters": {"type": "dict", "properties": {"party_name": {"type": "string", "description": "The name of the party involved in the case"}, "city": {"type": "string", "description": "The city where the case was heard"}}, "required": ["party_name", "city"]}}}]

user: Find all law cases where Charles Dickens is a party and it happened in Boston. Also, get cases where University of California was a party and happened in Los Angeles.
Available tools:
[{"type": "function", "function": {"name": "lawsuit_fetch_details", "description": "Fetch the details of a lawsuit for a specific company.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The company involved in the lawsuit."}}, "required": ["company_name"]}}}, {"type": "function", "function": {"name": "lawsuit_judge", "description": "Fetch the judge handling a lawsuit for a specific company.", "parameters": {"type": "dict", "properties": {"company_name": {"type": "string", "description": "The company involved in the lawsuit."}, "lawsuit_id": {"type": "integer", "description": "The ID number of the lawsuit. Default to 123", "default": 123}}, "required": ["company_name"]}}}]

user: Find how many cases and the judge handling a specific lawsuit for Pacific Gas and Electric and Tesla Inc.
Available tools:
[{"type": "function", "function": {"name": "weather_forecast_precipitation", "description": "Retrieve a precipitation forecast for a specific location for a certain number of days.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the precipitation forecast for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}}, {"type": "function", "function": {"name": "weather_forecast_humidity", "description": "Retrieve a humidity forecast for a specific location for a certain number of days.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the humidity forecast for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}}, {"type": "function", "function": {"name": "weather_forecast_temperature", "description": "Retrieve a temperature forecast for a specific location for a certain number of days.", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The city that you want to get the temperature forecast for."}, "days": {"type": "integer", "description": "Number of days for the forecast."}}, "required": ["location", "days"]}}}]

user: Get temperature and humidity forecast for Boston, USA and precipitation forecast for Rome, Italy for next 10 days.
Available tools:
[{"type": "function", "function": {"name": "supermarket_find_in_city", "description": "Find all supermarkets in a given city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city to locate supermarkets in."}, "state": {"type": "string", "description": "The state to further narrow down the search."}, "openNow": {"type": "boolean", "description": "If true, returns only supermarkets that are currently open. Default to true"}}, "required": ["city", "state"]}}}, {"type": "function", "function": {"name": "sightseeing_popular_in_city", "description": "Find the most popular sightseeing place in a given city.", "parameters": {"type": "dict", "properties": {"city": {"type": "string", "description": "The city to find sightseeing in."}, "state": {"type": "string", "description": "The state to further narrow down the search."}, "kidsFriendly": {"type": "boolean", "description": "If true, returns only kids friendly sightseeing places.Default to true"}}, "required": ["city", "state"]}}}]

user: Locate all supermarkets in Los Angeles and find the most popular site seeing place in Miami.
Available tools:
[{"type": "function", "function": {"name": "get_current_time", "description": "Fetches current time for a given location", "parameters": {"type": "dict", "properties": {"location": {"type": "string", "description": "The location for which to fetch current time"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translates a given text from one language to another", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text that needs to be translated"}, "from_lang": {"type": "string", "description": "The source language from which to translate"}, "to_lang": {"type": "string", "description": "The target language to which to translate"}}, "required": ["text", "from_lang", "to_lang"]}}}]

user: Translate the phrase 'Hello World' from English to Spanish and translate 'Goodbye' from French to English. In addition to that get current time in 'Los Angeles' and 'London'.
Available tools:
[{"type": "function", "function": {"name": "image_processing_object_identification", "description": "Identify objects in a given image.", "parameters": {"type": "dict", "properties": {"image_url": {"type": "string", "description": "The URL of the image."}}, "required": ["image_url"]}}}, {"type": "function", "function": {"name": "text_analysis_sentiment_analysis", "description": "Analyze the sentiment of a given text.", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text to be analyzed."}}, "required": ["text"]}}}]

user: Identify objects in my backyard image my_backyard_image_url and analyze the sentiment of today's journal entry my_journal_entry_text.
Available tools:
[{"type": "function", "function": {"name": "euro_history_treaty_info", "description": "Retrieve specific information about a signed European treaty.", "parameters": {"type": "dict", "properties": {"treaty_name": {"type": "string", "description": "The name of the treaty."}, "info_requested": {"type": "array", "items": {"type": "string", "enum": ["signatories", "ratification date", "clauses", "overview"]}, "description": "Specific aspects of the treaty for which to return information."}}, "required": ["treaty_name", "info_requested"]}}}, {"type": "function", "function": {"name": "euro_history_battle_details", "description": "Retrieve detailed information about a specific European historical battle.", "parameters": {"type": "dict", "properties": {"battle_name": {"type": "string", "description": "The name of the historical battle."}, "specific_info": {"type": "array", "items": {"type": "string", "enum": ["overview", "causalities", "date"]}, "description": "The specific types of information to return about the battle."}}, "required": ["battle_name", "specific_info"]}}}]

user: Find overview about the Battle of Waterloo and the signing of the Treaty of Tordesillas.
Available tools:
[{"type": "function", "function": {"name": "history_get_timeline", "description": "Retrieve the timeline for a specific historical event", "parameters": {"type": "dict", "properties": {"event": {"type": "string", "description": "The historical event you want the timeline for."}, "region": {"type": "string", "description": "Region of the event.", "default": "Europe"}}, "required": ["event"]}}}, {"type": "function", "function": {"name": "history_get_important_figures", "description": "Retrieve array of important figures involved during a specific historical event.", "parameters": {"type": "dict", "properties": {"event": {"type": "string", "description": "The historical event for which you want the array of important figures."}, "number": {"type": "integer", "description": "Number of top figures you want. Default to 1", "default": 1}}, "required": ["event"]}}}]

user: Get me the timeline of World War 2 in Europe and then get me an array of important leaders involved during the war.
Available tools:
[{"type": "function", "function": {"name": "us_history_gdp", "description": "Retrieves the Gross Domestic Product of the USA for a specific year.", "parameters": {"type": "dict", "properties": {"year": {"type": "integer", "description": "The year for which to retrieve GDP data."}}, "required": ["year"]}}}, {"type": "function", "function": {"name": "us_history_life_expectancy", "description": "Retrieves the average life expectancy of the USA for a specific year.", "parameters": {"type": "dict", "properties": {"year": {"type": "integer", "description": "The year for which to retrieve life expectancy."}}, "required": ["year"]}}}]

user: What was the average life expectancy in the USA in the year 1900 and 1950? Additionally, what was the Gross Domestic Product (GDP) of the USA in these years?
Available tools:
[{"type": "function", "function": {"name": "scientist_info_get_birthdate", "description": "Retrieve the birthdate of a specific scientist.", "parameters": {"type": "dict", "properties": {"name": {"type": "string", "description": "The name of the scientist."}}, "required": ["name"]}}}, {"type": "function", "function": {"name": "scientist_info_get_famous_discovery", "description": "Retrieve the most famous discovery made by a specific scientist.", "parameters": {"type": "dict", "properties": {"name": {"type": "string", "description": "The name of the scientist."}, "discovery_order": {"type": "integer", "description": "The order of discoveries if the scientist made multiple discoveries. If not provided, the first (or most famous) discovery will be returned.", "default": 1}}, "required": ["name"]}}}]

user: What is the exact birthdate of Nikola Tesla and what his most famous discovery was?
Available tools:
[{"type": "function", "function": {"name": "scienceFacts_getCharge", "description": "Fetch the electric charge of an atomic particle", "parameters": {"type": "dict", "properties": {"particle": {"type": "string", "description": "The atomic particle. e.g. Electron, Proton"}, "unit": {"type": "string", "description": "Unit to retrieve electric charge. For example, 'coulombs' etc."}}, "required": ["particle", "unit"]}}}, {"type": "function", "function": {"name": "scienceFacts_getWeight", "description": "Fetch the atomic weight of an atomic particle", "parameters": {"type": "dict", "properties": {"particle": {"type": "string", "description": "The atomic particle. e.g. Electron, Proton"}, "unit": {"type": "string", "description": "Unit to retrieve weight. For example, 'kg', 'pound', 'amu' etc."}}, "required": ["particle", "unit"]}}}, {"type": "function", "function": {"name": "scienceFacts_getDiameter", "description": "Fetch the diameter of an atomic particle", "parameters": {"type": "dict", "properties": {"particle": {"type": "string", "description": "The atomic particle. e.g. Electron, Proton"}, "unit": {"type": "string", "description": "Unit to retrieve diameter. For example, 'meter', 'cm', 'femtometers' etc."}}, "required": ["particle", "unit"]}}}]

user: What is the weight of Neutron and Proton in atomic mass unit (amu) ? Also what is the diameter of a Proton and Neutron in femtometers?