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": "search_restaurants_by_local_authority", "description": "Fetches all restaurants within a specified local authority using the Wyre Data API.", "parameters": {"localauthority": {"description": "The name of the local authority to search for restaurants in.", "type": "str", "default": "wyre"}}}, {"name": "directions_between_2_locations", "description": "Fetches the route information between two geographical locations including distance, duration, and steps.", "parameters": {"start_lon": {"description": "Longitude of the starting point (required).", "type": "int", "default": "-16.0755888102153"}, "end_lon": {"description": "Longitude of the ending point (required).", "type": "int", "default": "-17.447938"}, "end_lat": {"description": "Latitude of the ending point (required).", "type": "int", "default": "14.693425"}, "start_lat": {"description": "Latitude of the starting point (required).", "type": "int", "default": "14.14129815"}, "distance_unit": {"description": "Unit of distance measurement, valid options are 'km' (default) and 'mi'.", "type": "str, optional", "default": "km"}}}]
What are the restaurants available in London and how can I get directions from London to Edinburgh using miles as the distance unit?
user
assistant
[{"name": "search_restaurants_by_local_authority", "arguments": {"localauthority": "London"}}, {"name": "directions_between_2_locations", "arguments": {"start_lon": -0.127758, "end_lon": -3.188361, "end_lat": 55.953251, "start_lat": 51.507351, "distance_unit": "mi"}}]