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": "earnings", "description": "Fetches the earnings data for a given company symbol using the Yahoo Finance API.", "parameters": {"symb": {"description": "The stock symbol representing the company whose earnings data is to be fetched.", "type": "str", "default": "tsla"}}}, {"name": "v1_exchangerate", "description": "Retrieves the exchange rate for a given currency pair using the API Ninjas Exchange Rate API.", "parameters": {"pair": {"description": "Currency pair to query. Must be in the form of (currency1)_(currency2) (e.g., USD_EUR).", "type": "str", "default": "USD_EUR"}}}]
What are the earnings for Microsoft and the current rate of GBP to USD?
user
assistant
[{"name": "earnings", "arguments": {"symb": "MSFT"}}, {"name": "v1_exchangerate", "arguments": {"pair": "GBP_USD"}}]