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_prime", "description": "Checks if a number is prime.", "parameters": {"num": {"description": "The number to be checked.", "type": "int"}}}, {"name": "fibonacci_numbers", "description": "Generates the first n Fibonacci numbers.", "parameters": {"n": {"description": "The number of Fibonacci numbers to generate.", "type": "int"}}}, {"name": "cagr", "description": "Calculates the Compound Annual Growth Rate (CAGR) of an investment.", "parameters": {"start_value": {"description": "The initial value of the investment.", "type": "float"}, "end_value": {"description": "The final value of the investment.", "type": "float"}, "years": {"description": "The number of years between the initial and final values.", "type": "int"}}}, {"name": "find_equilibrium_index", "description": "Finds the equilibrium index of a list, where the sum of elements on the left is equal to the sum of elements on the right.", "parameters": {"arr": {"description": "The input list of integers.", "type": "List[int]"}}}]
Check if 31 is a prime number.
user
assistant
[{"name": "is_prime", "arguments": {"num": 31}}]