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": "get_addresses_by_postcode", "description": "Fetch a list of addresses or streets by specifying the postcodes.", "parameters": {"cp4": {"description": "The first part of the postcode.", "type": "str", "default": "3750"}, "cp3": {"description": "The second part of the postcode.", "type": "str", "default": "016"}}}, {"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"}}}]
Can you provide the addresses for the postcode area 5000-900 and the distance in miles between the locations with latitude 38.7223, longitude -9.1393 and latitude 38.7341, longitude -9.1416?
user
assistant
[{"name": "get_addresses_by_postcode", "arguments": {"cp4": "5000", "cp3": "900"}}, {"name": "measure_distance", "arguments": {"lat1": 38.7223, "lon1": -9.1393, "lat2": 38.7341, "lon2": -9.1416, "unit": "mi"}}]