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": "search", "description": "Search for public repositories of a given GitHub user using the Toolbench RapidAPI.", "parameters": {"user": {"description": "The GitHub username whose public repositories are to be searched.", "type": "str", "default": "samuk-a"}}}, {"name": "captcha_generator", "description": "Generates a CAPTCHA image with optional customizations and returns the resulting data.", "parameters": {"fontname": {"description": "The font to be used for the CAPTCHA text. Supported font names are 'sora', 'noto-sans', and 'ubuntu'. Default is 'sora'.", "type": "str, optional", "default": "sora"}, "noise_number": {"description": "The amount of noise to include in the CAPTCHA image. Default is 10.", "type": "int, optional", "default": "10"}, "text": {"description": "Custom text to be used as the CAPTCHA solution. If not provided, a random text solution will be generated.", "type": "str, optional", "default": ""}}}, {"name": "qrcodepro", "description": "Generates a professional QR code with customizable properties and settings.", "parameters": {"text": {"description": "The text to encode into the QR code.", "type": "str", "default": "https://www.digicatech.com"}, "validate": {"description": "Whether to validate the input text. Defaults to None.", "type": "bool, optional", "default": true}, "setlabel": {"description": "Whether to set a label on the QR code. Defaults to None.", "type": "bool, optional", "default": false}, "forecolor": {"description": "The foreground color of the QR code in hexadecimal format without the # prefix. Defaults to '000000'.", "type": "str, optional", "default": "000000"}, "type": {"description": "The output file type for the QR code ('png', 'svg', or 'eps'). Defaults to 'svg'.", "type": "str, optional", "default": "svg"}, "labeltext": {"description": "The text to use as a label in the QR code. Defaults to None.", "type": "str, optional", "default": ""}, "size": {"description": "The size of the output image in pixels, with a maximum of 4000. Defaults to 150.", "type": "int, optional", "default": "150"}, "labelalign": {"description": "The alignment of the label ('left', 'right', or 'center'). Defaults to 'center'.", "type": "str, optional", "default": "center"}, "backcolor": {"description": "The background color of the QR code in hexadecimal format without the # prefix. Defaults to 'FFFFFF'.", "type": "str, optional", "default": "FFFFFF"}, "level": {"description": "The error correction level of the QR code ('L', 'M', 'Q', 'H'). Defaults to 'M'.", "type": "str, optional", "default": "M"}}}]
A developer needs to generate a QR code for the URL 'https://www.example.com' with a size of 250 pixels and an error correction level of 'L' using the 'qrcodepro' function. Can you help them generate the QR code? Also, the developer wants to search for repositories of the GitHub user 'apple' using the 'search' function.
user
assistant
[{"name": "qrcodepro", "arguments": {"text": "https://www.example.com", "size": 250, "level": "L"}}, {"name": "search", "arguments": {"user": "apple"}}]