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": "doji", "description": "Fetches a list of stocks having a Doji signal from the specified page using the Toolbench RapidAPI service.", "parameters": {"page": {"description": "The page number to fetch the Doji signal stocks from. Defaults to 1.", "type": "int, optional", "default": "1"}}}, {"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"}}}]
Can you tell me the stocks having a Doji signal on the first page and get an advanced chart image of BINANCE:BTCUSDTPERP with RSI indicator for the 4-hour interval?
user
assistant
[{"name": "doji", "arguments": {"page": 1}}, {"name": "advanced_chart", "arguments": {"symbol": "BINANCE:BTCUSDTPERP", "studies": "RSI", "interval": "4h"}}]