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_holidays_by_year", "description": "Retrieves the list of public holidays for a given year and country using the Nager.Date API.", "parameters": {"year": {"description": "The year for which to retrieve the holidays.", "type": "int"}, "country_code": {"description": "The two-letter ISO 3166-1 alpha-2 country code.", "type": "str"}}}, {"name": "get_pokemon_move_info", "description": "Retrieves information about a Pok\u00e9mon's move using the Pok\u00e9API.", "parameters": {"pokemon_name": {"description": "The name of the Pok\u00e9mon.", "type": "str", "default": "run"}, "move_name": {"description": "The name of the move to check. Defaults to \"run\".", "type": "str, optional", "default": "run"}}}, {"name": "calculate_calorie_intake", "description": "Calculates the recommended daily calorie intake and macronutrient distribution based on personal characteristics and goals.", "parameters": {"weight_kg": {"description": "Body weight in kilograms.", "type": "float"}, "height_cm": {"description": "Height in centimeters.", "type": "float"}, "age": {"description": "Age in years.", "type": "int"}, "sex": {"description": "Biological sex, either 'male' or 'female'.", "type": "str"}, "activity_level": {"description": "Activity level on a scale of 1 to 5 (1 = sedentary, 5 = extremely active).", "type": "int"}, "goal": {"description": "Fitness goal, either 'lose', 'maintain', or 'gain'.", "type": "str"}}}, {"name": "get_ip_zipcode", "description": "Retrieves the ZIP code of a given IP address using the ip-api.com API.", "parameters": {"ip": {"description": "The IP address to locate.", "type": "str"}}}]
Recommend calorie intake for a 40-year-old female, 60kg, 160cm, sedentary, looking to lose weight.
user
assistant
[{"name": "calculate_calorie_intake", "arguments": {"weight_kg": 60, "height_cm": 160, "age": 40, "sex": "female", "activity_level": 1, "goal": "lose"}}]