You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "density", "description": "Calculates the density of an object given its mass and volume.", "parameters": {"mass": {"description": "The mass of the object.", "type": "float"}, "volume": {"description": "The volume of the object.", "type": "float"}}}, {"name": "chi_square_independence_test", "description": "Performs a Chi-Square test for independence on a 2x2 contingency table.", "parameters": {"contingency_table": {"description": "A 2x2 contingency table represented as a list of lists.", "type": "List[List[int]]", "default": 0.05}, "significance_level": {"description": "The significance level for the Chi-Square test. Defaults to 0.05.", "type": "float, optional", "default": 0.05}}}, {"name": "displacement", "description": "Calculates the displacement of an object given its initial velocity, acceleration, and time.", "parameters": {"initial_velocity": {"description": "The initial velocity of the object.", "type": "float"}, "acceleration": {"description": "The acceleration of the object.", "type": "float"}, "time": {"description": "The time elapsed.", "type": "float"}}}, {"name": "average", "description": "Calculates the arithmetic mean of a list of numbers.", "parameters": {"numbers": {"description": "The list of numbers.", "type": "List[float]"}}}, {"name": "compound_interest", "description": "Calculates the compound interest of an investment.", "parameters": {"principal": {"description": "The initial investment amount.", "type": "float", "default": 1}, "rate": {"description": "The annual interest rate expressed as a decimal.", "type": "float", "default": 1}, "time": {"description": "The time in years for which the investment is held.", "type": "float"}, "n": {"description": "The number of times interest is compounded per year. Defaults to 1.", "type": "int, optional"}}}]
Calculate the average of the numbers 1, 2, 3, 4, and 5.
user
assistant
[{"name": "average", "arguments": {"numbers": [1.0, 2.0, 3.0, 4.0, 5.0]}}]