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": "list_of_all_countries", "description": "Retrieves a list of all countries, optionally in a specified language.", "parameters": {"lang": {"description": "The language code (e.g., 'en', 'fr', 'de') to retrieve country names in a specific language. Defaults to None.", "type": "str, optional", "default": ""}}}, {"name": "historical_weather", "description": "Fetch historical weather data for a specific date and location within the past 8 years.", "parameters": {"date": {"description": "The UTC day of the data in the past in `YYYY-MM-DD` format.", "type": "str", "default": "2021-08-24"}, "lat": {"description": "Latitude in the following format: `12N`, `12.3N`, `12.3`, `13S`, `13.2S`, `-13.4`. If not provided, `place_id` must be specified. Default is '37.81021'.", "type": "str, optional", "default": "37.81021"}, "place_id": {"description": "Identifier of a place. If not provided, `lat` and `lon` must be specified. Default is None.", "type": "str, optional", "default": ""}, "units": {"description": "Unit system to be used. Available values are:", "type": "str, optional", "default": "auto"}, "lon": {"description": "Longitude in the following format: `12E`, `12.3E`, `12.3`, `13W`, `13.2W`, `-13.4`. If not provided, `place_id` must be specified. Default is '-122.42282'.", "type": "str, optional", "default": "-122.42282"}}}, {"name": "get_weather", "description": "Fetch weather information including current, hourly, and daily data for a specific location.", "parameters": {"version": {"description": "The version of the API to be used.", "type": "str", "default": "v1"}, "lng": {"description": "Geographical coordinate of the location (longitude).", "type": "int", "default": "-73.999257"}, "lat": {"description": "Geographical coordinate of the location (latitude).", "type": "int", "default": "40.723558"}, "unit": {"description": "Unit of temperature ('F' for Fahrenheit, 'C' for Celsius, or default 'K' for Kelvin). Defaults to None.", "type": "str, optional", "default": ""}}}]
Fetch the historical weather data for New York City, USA on July 4, 2020.
user
assistant
[{"name": "historical_weather", "arguments": {"date": "2020-07-04", "place_id": "5128638"}}]