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": "word_frequency", "description": "Calculates the frequency of each word in a text.", "parameters": {"text": {"description": "The input text.", "type": "str"}}}]
What is the frequency of each word in the news headline 'Tesla surpasses Toyota as most valuable car company'?
user
assistant
[{"name": "word_frequency", "arguments": {"text": "Tesla surpasses Toyota as most valuable car company"}}]