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_first_non_repeating_char", "description": "Finds the first non-repeating character in a string.", "parameters": {"s": {"description": "The input string.", "type": "str"}}}, {"name": "get_range", "description": "Helper function to format the range string.", "parameters": {"start": {"description": "The start of the range.", "type": "int"}, "end": {"description": "The end of the range.", "type": "int"}}}, {"name": "is_anagram_phrase", "description": "Checks if two phrases are anagrams of each other, ignoring whitespace and punctuation.", "parameters": {"phrase1": {"description": "The first phrase.", "type": "str"}, "phrase2": {"description": "The second phrase.", "type": "str"}}}, {"name": "find_missing_number", "description": "Finds the missing number in a list of integers from 0 to n.", "parameters": {"nums": {"description": "The list of integers.", "type": "List[int]"}}}, {"name": "find_duplicate_number", "description": "Finds the duplicate number in a list of integers.", "parameters": {"nums": {"description": "The list of integers.", "type": "List[int]"}}}]
Given the list [1, 3, 4, 2, 2], find the duplicate number.
user
assistant
[{"name": "find_duplicate_number", "arguments": {"nums": [1, 3, 4, 2, 2]}}]