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": "nearby_google", "description": "Returns a JSON array of nearby places sorted by distance from the origin coordinates in ascending order.", "parameters": {"lat": {"description": "Latitude of the location to search nearby places.", "type": "int", "default": "49.283030"}, "lng": {"description": "Longitude of the location to search nearby places.", "type": "int", "default": "-123.118990"}, "type": {"description": "Type of place to search for. Default is 'cafe'. Only values from Google's /types are valid.", "type": "str, optional", "default": "cafe"}, "radius": {"description": "Search radius in meters. Default is 200. Maximum allowed is 50000.", "type": "int, optional", "default": "200"}}}, {"name": "get_geolocation_data", "description": "Fetches geolocation data for a given IP address using the SHW Geolocation API.", "parameters": {"ip": {"description": "The IP address to fetch geolocation data for.", "type": "str", "default": "8.8.8.8"}}}, {"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"}}}, {"name": "address_code", "description": "Fetches and returns address information based on the provided address code and other optional parameters.", "parameters": {"code": {"description": "Address code. Can be specified multiple times, separated by a period.", "type": "str", "default": "13101001"}, "coord_unit": {"description": "The unit of latitude and longitude included in the output data. Options are 'degree' (default, decimal system of degrees) or 'millisec' (milliseconds).", "type": "str, optional", "default": "degree"}, "datum": {"description": "Geodetic system of latitude and longitude. Options are 'wgs84' (default, World Geodetic System) or 'tokyo' (Old Japan Geodetic System).", "type": "str, optional", "default": "wgs84"}}}]
Find the geolocation data for the IP address 555.666.777.888 and the address information for the code 888777666. Also, get a list of nearby gyms within 2 kilometers from the coordinates (37.7749, -122.4194).
user
assistant
[{"name": "get_geolocation_data", "arguments": {"ip": "555.666.777.888"}}, {"name": "address_code", "arguments": {"code": "888777666"}}, {"name": "nearby_google", "arguments": {"lat": 37, "lng": -122, "type": "gym", "radius": 2000}}]