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_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": "remove_duplicates", "description": "Removes duplicate elements from a list while preserving the order.", "parameters": {"lst": {"description": "The input list.", "type": "List"}}}, {"name": "find_max_subarray_sum", "description": "Finds the maximum sum of a contiguous subarray within a list of integers.", "parameters": {"nums": {"description": "The input 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]"}}}, {"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": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}, {"name": "count_occurrences", "description": "Counts the occurrences of each element in a list and returns a dictionary with the counts.", "parameters": {"lst": {"description": "The input list.", "type": "List"}}}, {"name": "find_longest_word", "description": "Finds the longest word in a list of words.", "parameters": {"words": {"description": "A list of words.", "type": "List[str]"}}}]
Determine if 'hello' is a rotation of 'lohel'. Also, find the longest word in the list ['elephant', 'giraffe', 'zebra'].
user
assistant
[{"name": "is_rotation", "arguments": {"str1": "hello", "str2": "lohel"}}, {"name": "find_longest_word", "arguments": {"words": ["elephant", "giraffe", "zebra"]}}]