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": "investment_profit", "description": "Calculates the profit from an investment based on the initial amount, annual return rate, and time.", "parameters": {"amount": {"description": "The initial investment amount.", "type": "float"}, "rate": {"description": "The annual return rate expressed as a decimal.", "type": "float"}, "years": {"description": "The number of years the investment is held.", "type": "int"}}}]
Calculate the profit from an initial investment of $12,000 with a 6% annual return rate over 7 years.
user
assistant
[{"name": "investment_profit", "arguments": {"amount": 12000, "rate": 0.06, "years": 7}}]