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": "measure_distance", "description": "Calculates the distance between two geographic locations specified by their latitude and longitude coordinates, with an optional unit of measurement.", "parameters": {"lon2": {"description": "Longitude of the second location.", "type": "int", "default": "10.103167361330975"}, "lat2": {"description": "Latitude of the second location.", "type": "int", "default": "36.81395975"}, "lon1": {"description": "Longitude of the first location.", "type": "int", "default": "10.7603483"}, "lat1": {"description": "Latitude of the first location.", "type": "int", "default": "34.797783"}, "unit": {"description": "Unit of distance measurement. Valid options are \"km\" (default), \"mi\", \"ft\", and \"yd\".", "type": "str, optional", "default": "km"}}}, {"name": "postcodes_postcode", "description": "Fetches addresses for a given UK postcode using the RapidAPI UK Postcode API.", "parameters": {"postcode": {"description": "The UK postcode to look up addresses for.", "type": "str", "default": "PL11DN"}}}, {"name": "search_restaurants_by_town", "description": "Search for restaurants within a specified town or city using the Wyre Data API.", "parameters": {"town": {"description": "The name of the town or city to search for restaurants.", "type": "str", "default": "hambleton"}}}, {"name": "get_place_by_id", "description": "Returns a single Place identified by an ID.", "parameters": {"is_id": {"description": "ID of the Place.", "type": "str", "default": "US"}, "language": {"description": "Specifies a language (ISO 639-1) to get the localized name of the place. If translation is not available, the \"localizedName\" property will be null. Defaults to None.", "type": "str, optional", "default": ""}}}, {"name": "measure_distance", "description": "Calculates the distance between two geographic locations based on their latitude and longitude coordinates, with optional specification of the unit of measurement.", "parameters": {"lat1": {"description": "Latitude of the first location.", "type": "int", "default": "0.365816"}, "lat2": {"description": "Latitude of the second location.", "type": "int", "default": "0.32493795000000003"}, "lon2": {"description": "Longitude of the second location.", "type": "int", "default": "32.57523607707668"}, "lon1": {"description": "Longitude of the first location.", "type": "int", "default": "32.529226"}, "unit": {"description": "Unit of distance measurement. Valid options are 'km' (default), 'mi', 'ft', and 'yd'.", "type": "str, optional", "default": "km"}}}]
What is the distance in kilometers between Tunis (latitude 36.8065, longitude 10.1815) and Sfax (latitude 34.7327, longitude 10.7517)?
user
assistant
[{"name": "measure_distance", "arguments": {"lat1": 36.8065, "lon1": 10.1815, "lat2": 34.7327, "lon2": 10.7517, "unit": "km"}}]