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_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": "is_anagram", "description": "Checks if two words are anagrams of each other.", "parameters": {"word1": {"description": "The first word.", "type": "str"}, "word2": {"description": "The second word.", "type": "str"}}}, {"name": "generate_password", "description": "Generates a random password of specified length and character types.", "parameters": {"length": {"description": "The length of the password. Defaults to 12.", "type": "int, optional", "default": 12}, "include_special": {"description": "Whether to include special characters in the password. Defaults to True.", "type": "bool, optional", "default": true}}}, {"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]"}}}]
Find the majority element in the list [5, 5, 5, 6, 6, 6] and check if 'evil' and 'live' are anagrams. Generate a password with a length of 15 excluding special characters. Lastly, determine the weighted average grade for a student who scored 95, 98, and 100 with weights of 0.2, 0.3, and 0.5 respectively.
user
assistant
[{"name": "find_majority_element", "arguments": {"nums": [5, 5, 5, 6, 6, 6]}}, {"name": "is_anagram", "arguments": {"word1": "evil", "word2": "live"}}, {"name": "generate_password", "arguments": {"length": 15, "include_special": false}}, {"name": "calculate_grade", "arguments": {"scores": [95, 98, 100], "weights": [0.2, 0.3, 0.5]}}]