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": "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": "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"}}}, {"name": "is_power", "description": "Checks if a number is a power of a given base.", "parameters": {"num": {"description": "The number to check.", "type": "int"}, "base": {"description": "The base to check against.", "type": "int"}}}, {"name": "find_next_greater_element", "description": "Finds the next greater element for each element in a list.", "parameters": {"nums": {"description": "The list of numbers.", "type": "List[int]"}}}]
Determine if the number 64 is a power of 4. Also, find the next greater element for each number in the list [10, 20, 30, 40, 50].
user
assistant
[{"name": "is_power", "arguments": {"num": 64, "base": 4}}, {"name": "find_next_greater_element", "arguments": {"nums": [10, 20, 30, 40, 50]}}]