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": "advanced_chart", "description": "Fetches a real-time advanced chart image from TradingView using specified parameters.", "parameters": {"symbol": {"description": "A valid TradingView symbol. Example: 'BINANCE:BTCUSDT', 'BINANCE:BTCUSDTPERP'. Default is 'BINANCE:BTCUSDT'.", "type": "str", "default": "BINANCE:BTCUSDT"}, "studies": {"description": "Indicators to be included on the chart. Supports multiple values such as 'MACD', 'RSI', 'EMA'. Default is 'MACD'.", "type": "str", "default": "MACD"}, "format": {"description": "The format of the chart image. Supported formats are 'png' and 'jpeg'. Default is 'png'.", "type": "str", "default": "png"}, "theme": {"description": "The color theme of the chart. Supported themes are 'light' and 'dark'. Default is 'dark'.", "type": "str", "default": "dark"}, "interval": {"description": "The interval of the chart. Supported intervals include '1m', '3m', '5m', '15m', '30m', '45m', '1h', '2h', '3h', '4h', '1d', '1w'. Default is '1d'.", "type": "str", "default": "1d"}, "width": {"description": "The width of the chart image. Minimum is 320. Default is 800.", "type": "int", "default": "800"}, "height": {"description": "The height of the chart image. Minimum is 240. Default is 600.", "type": "int", "default": "600"}, "timezone": {"description": "The timezone for the chart. Default is 'Etc/UTC'. Refer to comprehensive list for other values.", "type": "str", "default": "Etc/UTC"}}}, {"name": "income_statement", "description": "Fetches the company income statement in JSON format from the FMP Cloud API.", "parameters": {"stock": {"description": "The stock ticker symbol for the company.", "type": "str", "default": "AAPL"}, "apikey": {"description": "The API key for accessing the FMP Cloud API. Obtainable from https://fmpcloud.io/register.", "type": "str", "default": "demo"}, "period": {"description": "The reporting period for the income statement. It can be either 'annual' or 'quarter'. Defaults to 'quarter'.", "type": "str, optional", "default": "quarter"}}}, {"name": "rsi_oversold", "description": "Fetches a list of stocks that have an RSI oversold signal from the specified API endpoint.", "parameters": {"page": {"description": "The page number for pagination. Defaults to 1.", "type": "int, optional", "default": "1"}}}]
What are the earnings for Apple Inc., Microsoft Corporation, and Amazon.com Inc.? Also, can you fetch the advanced chart for Bitcoin (BTCUSDT) and Ethereum (ETHUSDT) with MACD and RSI indicators using the TradingView API?
user
assistant
[{"name": "earnings", "arguments": {"symb": "AAPL"}}, {"name": "earnings", "arguments": {"symb": "MSFT"}}, {"name": "earnings", "arguments": {"symb": "AMZN"}}, {"name": "advanced_chart", "arguments": {"symbol": "BINANCE:BTCUSDT", "studies": "MACD,RSI"}}, {"name": "advanced_chart", "arguments": {"symbol": "BINANCE:ETHUSDT", "studies": "MACD,RSI"}}]