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": "get_ohlc_history", "description": "Fetches the OHLC (Open, High, Low, Close) history data for a specified currency pair.", "parameters": {"symbol": {"description": "The currency pair symbol for which to retrieve OHLC history.", "type": "str", "default": "eur-usd"}}}, {"name": "banks_by_country", "description": "Fetches a list of banks for a specified country using the given RapidAPI key.", "parameters": {"country_code": {"description": "Two-letter ISO country code representing the country for which the bank list is to be retrieved.", "type": "str", "default": "AU"}}}, {"name": "get_calculate_investment", "description": "Calculates various investment returns based on given parameters using an external API.", "parameters": {"rate": {"description": "The annual interest rate of the investment in percentage.", "type": "int", "default": "6.5"}, "principal": {"description": "The initial amount of money invested.", "type": "int", "default": "50000.00"}, "time": {"description": "The duration of the investment in months.", "type": "int", "default": "36"}, "compounding": {"description": "The frequency of compounding interest. Valid options are 'yearly', 'semi-annually', 'quarterly', and 'monthly'. Default is 'yearly'.", "type": "str, optional", "default": "yearly"}, "in_currency": {"description": "The currency of the investment. Default is 'USD'.", "type": "str, optional", "default": "USD"}, "format": {"description": "Whether to format the result. Valid options are 'yes' and 'no'. Default is 'yes'.", "type": "str, optional", "default": "yes"}, "to_currency": {"description": "The currency to convert the result into. Default is 'USD'.", "type": "str, optional", "default": "USD"}}}]
Calculate the investment returns for an annual interest rate of 3%, a principal amount of $5,000, a duration of 2 years, quarterly compounding, and format the result in EUR
user
assistant
[{"name": "get_calculate_investment", "arguments": {"rate": 3, "principal": 5000, "time": 24, "compounding": "quarterly", "in_currency": "USD", "format": "yes", "to_currency": "EUR"}}]