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": "find_duplicate_number", "description": "Finds the duplicate number in a list of integers.", "parameters": {"nums": {"description": "The list of integers.", "type": "List[int]"}}}, {"name": "reverse_words", "description": "Reverses the order of words in a sentence.", "parameters": {"sentence": {"description": "The input sentence.", "type": "str"}}}, {"name": "binary_search", "description": "Performs binary search on a sorted list to find the index of a target value.", "parameters": {"arr": {"description": "The sorted list of integers.", "type": "List[int]"}, "target": {"description": "The target value to search for.", "type": "int"}}}, {"name": "is_anagram", "description": "Checks if two words are anagrams of each other.", "parameters": {"word1": {"description": "The first word.", "type": "str"}, "word2": {"description": "The second word.", "type": "str"}}}, {"name": "count_vowels", "description": "Counts the number of vowels in a given text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}]
Check if 'debit card' and 'bad credit' are anagrams and count the number of vowels in the phrase 'Artificial Intelligence'.
user
assistant
[{"name": "is_anagram", "arguments": {"word1": "debit card", "word2": "bad credit"}}, {"name": "count_vowels", "arguments": {"text": "Artificial Intelligence"}}]