Hi, I need to calculate the interest on a loan I'm considering. The principal amount is $5000, the interest rate is 5% and the loan period is 3 years. Can you help me with that?
user
{"name": "calculate_interest", "arguments": {"principal": 5000, "rate": 5, "time": 3}}
[{"type": "function", "function": {"name": "calculate_interest", "description": "Calculate the interest on a loan or investment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount"}, "rate": {"type": "number", "description": "The interest rate"}, "time": {"type": "number", "description": "The time period in years"}}, "required": ["principal", "rate", "time"]}}}, {"type": "function", "function": {"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The source currency code"}, "to_currency": {"type": "string", "description": "The target currency code"}}, "required": ["amount", "from_currency", "to_currency"]}}}]