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]"}}}]
Find the index of a peak element in the list [5, 6, 7, 8, 9, 8, 7, 6, 5].
user
assistant
[{"name": "find_peak_element", "arguments": {"nums": [5, 6, 7, 8, 9, 8, 7, 6, 5]}}]