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_sum_of_cubes", "description": "Checks if a number is the sum of the cubes of its digits.", "parameters": {"num": {"description": "The number to check.", "type": "int"}}}, {"name": "longest_common_prefix", "description": "Finds the longest common prefix among a list of strings.", "parameters": {"strs": {"description": "The list of strings.", "type": "List[str]"}}}, {"name": "reverse_words", "description": "Reverses the order of words in a sentence.", "parameters": {"sentence": {"description": "The input sentence.", "type": "str"}}}, {"name": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}]
Reverse the order of words in the sentence 'The quick brown fox jumps over the lazy dog'. Additionally, calculate the word frequency of the text 'To be or not to be, that is the question.'
user
assistant
[{"name": "reverse_words", "arguments": {"sentence": "The quick brown fox jumps over the lazy dog"}}, {"name": "word_frequency", "arguments": {"text": "To be or not to be, that is the question."}}]