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": "take_screenshot", "description": "Take a screenshot of a webpage with various customizable options and return the URL of the saved image.", "parameters": {"targeturl": {"description": "The URL of the webpage to capture.", "type": "str", "default": "https://www.mio-ip.it/"}, "islandscape": {"description": "Specifies if the viewport should be in landscape mode. Default is None.", "type": "str, optional", "default": ""}, "proxycountry": {"description": "The proxy country to route the request through. Default is None.", "type": "str, optional", "default": ""}, "isfullyloaded": {"description": "Specifies whether to consider navigation finished based on no more than 0 network connections for at least 500 ms. Default is None.", "type": "str, optional", "default": ""}, "clickcount": {"description": "Number of times to click on the selector. Default is 1.", "type": "int, optional", "default": "1"}, "fullpage": {"description": "Indicates if the screenshot should cover the entire page from header to footer. Default is None.", "type": "str, optional", "default": ""}, "clickselector": {"description": "CSS selector for the element to click. The element will be scrolled into view before clicking. Default is None.", "type": "str, optional", "default": ""}, "hastouch": {"description": "Specifies if the viewport supports touch events. Default is None.", "type": "str, optional", "default": ""}, "clickdelay": {"description": "Delay (in milliseconds) before each click action. Default is 500.", "type": "int, optional", "default": "500"}, "clickbutton": {"description": "Specifies the mouse button to use for the click action (e.g., 'left' or 'right'). Default is None.", "type": "str, optional", "default": ""}, "devicescalefactor": {"description": "Device scaling factor to use. Default is 1.", "type": "int, optional", "default": "1"}, "ismobile": {"description": "Whether the meta viewport tag should be taken into account. Default is None.", "type": "str, optional", "default": ""}, "pagewidth": {"description": "Width of the browser page in pixels. Default is 1024.", "type": "int, optional", "default": "1024"}, "pageheight": {"description": "Height of the browser page in pixels. Default is 1024.", "type": "int, optional", "default": "1024"}, "removables": {"description": "CSS selectors for HTML elements to be removed before taking the screenshot. Default is None.", "type": "str, optional", "default": ""}}}, {"name": "scan_headers", "description": "Scans the headers of a web page for the given domain using the Scan Web Headers API.", "parameters": {"domain": {"description": "The domain of the web page to be scanned.", "type": "str", "default": "www.google.com"}}}]
Capture a screenshot of the GitHub homepage with a mobile view and another one with a device scale factor of 2.
user
assistant
[{"name": "take_screenshot", "arguments": {"targeturl": "https://www.github.com", "ismobile": "true"}}, {"name": "take_screenshot", "arguments": {"targeturl": "https://www.github.com", "devicescalefactor": 2}}]