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": "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": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"text": {"description": "The input text.", "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}}}]
Can you help me analyze a list of items I have? The list includes ['apple', 'banana', 'apple', 'orange', 'banana', 'banana']. Also, I need a password generated with 10 characters, including special characters.
user
assistant
[{"name": "count_occurrences", "arguments": {"lst": ["apple", "banana", "apple", "orange", "banana", "banana"]}}, {"name": "generate_password", "arguments": {"length": 10, "include_special": true}}]