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_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": "format_date", "description": "Converts a date string from one format to another.", "parameters": {"date": {"description": "The date string to convert.", "type": "str"}, "input_format": {"description": "The format of the input date string.", "type": "str"}, "output_format": {"description": "The desired format of the output date string.", "type": "str"}}}, {"name": "calculate_factorial", "description": "Calculates the factorial of a non-negative integer.", "parameters": {"n": {"description": "The non-negative integer.", "type": "int"}}}, {"name": "flatten_list", "description": "Flattens a nested list into a single-level list.", "parameters": {"nested_list": {"description": "The nested list to be flattened.", "type": "List"}}}, {"name": "reverse_words", "description": "Reverses the order of words in a sentence.", "parameters": {"sentence": {"description": "The input sentence.", "type": "str"}}}, {"name": "is_rotation", "description": "Checks if one string is a rotation of another string.", "parameters": {"str1": {"description": "The first string.", "type": "str"}, "str2": {"description": "The second string.", "type": "str"}}}, {"name": "find_majority_element", "description": "Finds the majority element in a list, which appears more than \u230an / 2\u230b times.", "parameters": {"nums": {"description": "The input list of integers.", "type": "List[int]"}}}, {"name": "merge_dictionaries", "description": "Merges two dictionaries into a single dictionary.", "parameters": {"dict1": {"description": "The first dictionary.", "type": "Dict"}, "dict2": {"description": "The second dictionary.", "type": "Dict"}}}]
Reverse the order of words in the sentence 'Hello World' and check if 'waterbottle' is a rotation of 'erbottlewat'.
user
assistant
[{"name": "reverse_words", "arguments": {"sentence": "Hello World"}}, {"name": "is_rotation", "arguments": {"str1": "waterbottle", "str2": "erbottlewat"}}]