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": "location_search", "description": "Search for locations by name using the Foreca Weather API.", "parameters": {"query": {"description": "The name of the location to search for.", "type": "str", "default": "mumbai"}, "lang": {"description": "The language for the results. Defaults to 'en'.", "type": "str, optional", "default": "en"}, "country": {"description": "The country code to filter the search results. Defaults to 'in'.", "type": "str, optional", "default": "in"}}}, {"name": "search_location_by_name_or_zip_code", "description": "Search for a location by name or ZIP code and retrieve the key for the weather forecast.", "parameters": {"zipcode": {"description": "The ZIP code of the city. Defaults to None.", "type": "str, optional", "default": ""}, "lang": {"description": "The language of the response. Options include 'en', 'fr', 'nl', 'es', 'pt', 'it', 'tr', 'gr', 'cz', 'pl', 'ru', and 'cn'. Defaults to 'en'.", "type": "str, optional", "default": "en"}, "city": {"description": "The name of the city. Defaults to 'New York'.", "type": "str, optional", "default": "New York"}}}]
Get weather details for New York City in Spanish.
user
assistant
[{"name": "search_location_by_name_or_zip_code", "arguments": {"city": "New York", "lang": "es"}}]