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": "california_alimony", "description": "Calculates the total alimony one spouse would have to pay to the other in California over a given duration.", "parameters": {"payor_monthly_income": {"description": "The monthly gross income of the payor spouse.", "type": "int"}, "recipient_monthly_income": {"description": "The monthly gross income of the recipient spouse.", "type": "int"}, "duration_years": {"description": "The duration of the alimony in years.", "type": "int"}}}, {"name": "is_perfect_square", "description": "Checks if a number is a perfect square.", "parameters": {"num": {"description": "The number to check.", "type": "int"}}}, {"name": "solve_quadratic", "description": "Computes the roots of a quadratic equation given its coefficients.", "parameters": {"a": {"description": "The coefficient of the quadratic term (x^2).", "type": "float"}, "b": {"description": "The coefficient of the linear term (x).", "type": "float"}, "c": {"description": "The constant term.", "type": "float"}}}, {"name": "prime_factorization", "description": "Computes the prime factorization of a positive integer.", "parameters": {"number": {"description": "The positive integer to factorize.", "type": "int"}}}]
Can you help me with a few calculations? First, I need to know the total alimony for a case where the payor makes $6000 a month and the recipient makes $3000 a month over 3 years. Next, I want to know if 225 is a perfect square. Lastly, I need the prime factors of 120.
user
assistant
[{"name": "california_alimony", "arguments": {"payor_monthly_income": 6000, "recipient_monthly_income": 3000, "duration_years": 3}}, {"name": "is_perfect_square", "arguments": {"num": 225}}, {"name": "prime_factorization", "arguments": {"number": 120}}]