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": "exchange_range", "description": "Retrieves the minimum and maximum payment amounts required to make an exchange for a specified pair of assets.", "parameters": {"from_to": {"description": "Underscore separated pair of asset tickers (e.g., 'btc_usd').", "type": "str", "default": "btc_eth"}, "api_key": {"description": "Your specific API key for the service. Defaults to 'your_api_key'.", "type": "str, optional", "default": "your_api_key"}}}, {"name": "get_realtime_volume", "description": "Fetches the real-time trading volume of a cryptocurrency in US Dollars.", "parameters": {"symbol": {"description": "The ticker symbol of the cryptocurrency (e.g., 'BTC' for Bitcoin).", "type": "str", "default": "BTC"}}}, {"name": "stock_v2_get_trading_information", "description": "Fetch trading information for a specific stock using its performance ID.", "parameters": {"performanceid": {"description": "The performance ID of the stock, which can be obtained from the auto-complete, get-summary, or get-movers endpoints.", "type": "str", "default": "0P0000OQN8"}}}, {"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 is the trading information for the stock with performance ID 0987654321? Also, what is the index trend earnings history information for the stock symbol XYZ?
user
assistant
[{"name": "stock_v2_get_trading_information", "arguments": {"performanceid": "0987654321"}}, {"name": "stock_index_trend", "arguments": {"symbol": "XYZ"}}]