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]"}}}]
Calculate the weighted average for a student with scores of 65 in Art (weight 0.1), 70 in Music (weight 0.1), 80 in Physical Education (weight 0.1), 75 in Computer Science (weight 0.3), and 85 in Language (weight 0.4).
user
assistant
[{"name": "calculate_grade", "arguments": {"scores": [65, 70, 80, 75, 85], "weights": [0.1, 0.1, 0.1, 0.3, 0.4]}}]