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": "calculate_grade", "description": "Calculates the weighted average grade based on scores and their corresponding weights.", "parameters": {"scores": {"description": "A list of scores.", "type": "List[float]"}, "weights": {"description": "A list of weights corresponding to each score.", "type": "List[float]"}}}, {"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"}}}]
Calculate the weighted grade for [80, 85, 92] with weights [0.3, 0.3, 0.4], and determine if 371 is a sum of cubes.
user
assistant
[{"name": "calculate_grade", "arguments": {"scores": [80, 85, 92], "weights": [0.3, 0.3, 0.4]}}, {"name": "is_sum_of_cubes", "arguments": {"num": 371}}]