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": "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"}}}, {"name": "get_cities", "description": "Fetches a list of cities based on the given search criteria from the specified RapidAPI service.", "parameters": {"keyword": {"description": "Search keyword to filter cities. Defaults to 'asia'.", "type": "str", "default": "asia"}, "is_id": {"description": "Specific city ID to fetch the city details. Optional.", "type": "str", "default": ""}, "page": {"description": "Page number for pagination. Defaults to 1.", "type": "int", "default": "1"}, "perpage": {"description": "Number of cities to be returned per page. Defaults to 50.", "type": "int", "default": "50"}}}, {"name": "ip_lookup", "description": "Fetches the geographical information for a given IP address using the IP-to-Location API.", "parameters": {"ip": {"description": "IP address to lookup. If not provided, the default value '8.30.234.123' will be used.", "type": "str", "default": "8.30.234.123"}}}]
Can you provide directions from Dakar to Saint-Louis in Senegal, and list the cities in Europe starting with 'M' on page 2?
user
assistant
[{"name": "directions_between_2_locations", "arguments": {"start_lon": -17.444048, "end_lon": -16.018362, "end_lat": 16.471055, "start_lat": 14.693738}}, {"name": "get_cities", "arguments": {"keyword": "M", "page": 2, "perpage": 50}}]