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": "top_news", "description": "Fetches the current top news based on the specified region and language.", "parameters": {"region": {"description": "The region for which to fetch the top news. Defaults to 'US'.", "type": "str", "default": "US"}, "hl": {"description": "The language code for the news. Defaults to 'en'.", "type": "str", "default": "en"}}}, {"name": "qrcode", "description": "Generate a QR code based on the provided data string using the QR Code Generator API.", "parameters": {"data": {"description": "The input data to be converted into a QR code.", "type": "str", "default": "Hello World!"}}}]
What are the top news stories in the US in Spanish?
user
assistant
[{"name": "top_news", "arguments": {"region": "US", "hl": "es"}}]