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_palindrome", "description": "Checks if a string is a palindrome.", "parameters": {"text": {"description": "The input string.", "type": "str"}}}, {"name": "find_missing_ranges", "description": "Finds the missing ranges between lower and upper in a sorted list of integers.", "parameters": {"nums": {"description": "The sorted list of integers.", "type": "List[int]"}, "lower": {"description": "The lower bound.", "type": "int"}, "upper": {"description": "The upper bound.", "type": "int"}}}, {"name": "calculate_factorial", "description": "Calculates the factorial of a non-negative integer.", "parameters": {"n": {"description": "The non-negative integer.", "type": "int"}}}, {"name": "calculate_grade", "description": "Calculates the weighted average grade based on scores and their corresponding weights.", "parameters": {"scores": {"description": "A list of scores.", "type": "List[float]"}, "weights": {"description": "A list of weights corresponding to each score.", "type": "List[float]"}}}, {"name": "calculate_age", "description": "Calculates the age based on the birthdate.", "parameters": {"birthdate": {"description": "The birthdate in the format 'YYYY-MM-DD'.", "type": "str"}}}, {"name": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}, {"name": "count_vowels", "description": "Counts the number of vowels in a given text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}]
Calculate the factorial of 5 and determine the age of someone born on 1990-01-01.
user
assistant
[{"name": "calculate_factorial", "arguments": {"n": 5}}, {"name": "calculate_age", "arguments": {"birthdate": "1990-01-01"}}]