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": "binomial_probability", "description": "Calculates the probability of getting exactly k successes in n independent trials,", "parameters": {"n": {"description": "The total number of trials.", "type": "int"}, "k": {"description": "The number of successes.", "type": "int"}, "p": {"description": "The probability of success in each trial.", "type": "float"}}}, {"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": "is_valid_sudoku", "description": "Checks if a 9x9 Sudoku board is valid.", "parameters": {"board": {"description": "The Sudoku board represented as a 2D list of strings.", "type": "List[List[str]]"}}}, {"name": "light_travel_time", "description": "Calculate the time taken for light to travel from one celestial body to another.", "parameters": {"distance_in_light_years": {"description": "The distance between the two celestial bodies in light years.", "type": "int", "default": 299792458}, "speed_of_light": {"description": "The speed of light in vacuum, in m/s. Default value is 299792458 m/s.", "type": "int", "default": 299792458}}}]
What is the probability of getting exactly 3 heads in 5 coin tosses, assuming each coin toss has a 0.5 probability of landing on heads? Also, calculate the density of an object that has a mass of 10kg and a volume of 2 cubic meters.
user
assistant
[{"name": "binomial_probability", "arguments": {"n": 5, "k": 3, "p": 0.5}}, {"name": "density", "arguments": {"mass": 10, "volume": 2}}]