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": "getlatestbysecuritiescode", "description": "Fetches the latest securities report data for a given company based on its securities code.", "parameters": {"securities_code": {"description": "The securities code representing the company.", "type": "int", "default": "7203"}}}, {"name": "stock_cashflow_statement", "description": "Fetches the cash flow statement for a given stock symbol from Yahoo Finance using RapidAPI.", "parameters": {"symbol": {"description": "The stock symbol for which to fetch the cash flow statement.", "type": "str", "default": "AAPL"}}}, {"name": "metadata", "description": "Fetches the metadata information for cryptocurrency markets from the specified API.", "parameters": {"asset_type": {"description": "The type of the asset, e.g., 'spot' or 'futures'. Default is 'spot'.", "type": "str", "default": "spot"}, "market_venue": {"description": "The trading venue where the asset is listed, e.g., 'BINANCE'. Default is 'BINANCE'.", "type": "str", "default": "BINANCE"}, "symbol": {"description": "The symbol of the cryptocurrency, e.g., 'BTC'. Default is 'BTC'.", "type": "str", "default": "BTC"}, "base": {"description": "The base currency for trading, e.g., 'USDT'. Default is 'USDT'.", "type": "str", "default": "USDT"}, "data_type": {"description": "The type of data to fetch, e.g., 'metrics'. Default is 'metrics'.", "type": "str", "default": "metrics"}}}, {"name": "stock_index_trend", "description": "Fetch the index trend earnings history information for a specific stock symbol from the Yahoo Finance API.", "parameters": {"symbol": {"description": "The stock symbol to fetch the index trend data for.", "type": "str", "default": "AAPL"}}}]
What are the index trend earnings history for Tesla Inc. and Amazon.com Inc.?
user
assistant
[{"name": "stock_index_trend", "arguments": {"symbol": "TSLA"}}, {"name": "stock_index_trend", "arguments": {"symbol": "AMZN"}}]