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": "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_minimum_rotated_sorted_array", "description": "Finds the minimum element in a rotated sorted array.", "parameters": {"nums": {"description": "The rotated sorted array.", "type": "List[int]"}}}, {"name": "future_investment_value", "description": "Calculates the future value of an investment based on the present value, annual interest rate, and number of years.", "parameters": {"present_value": {"description": "The present value of the investment.", "type": "float"}, "annual_interest_rate": {"description": "The annual interest rate as a decimal (e.g., 0.05 for 5%).", "type": "float"}, "years": {"description": "The number of years the investment will grow.", "type": "int"}}}, {"name": "find_peak_element", "description": "Finds a peak element in a list of integers.", "parameters": {"nums": {"description": "The list of integers.", "type": "List[int]"}}}]
Is 8192 a power of 16? What is the minimum element in the array [20, 21, 22, 1, 2, 3]? What is the future value of an investment of $7000 at 4% annual interest over 20 years?
user
assistant
[{"name": "is_power", "arguments": {"num": 8192, "base": 16}}, {"name": "find_minimum_rotated_sorted_array", "arguments": {"nums": [20, 21, 22, 1, 2, 3]}}, {"name": "future_investment_value", "arguments": {"present_value": 7000, "annual_interest_rate": 0.04, "years": 20}}]