user: I've been helping my grandmother to adopt a healthier lifestyle. She's 80 years old, and we've been quite active together lately. She's 170 cm tall and weighs 59 kg. Given that we're maintaining an activity level of 4 on the scale you've provided, we're aiming for a weight loss goal. Could you calculate her nutritional needs based on these details?

Available functions:
name: calculate_basal_metabolic_rate
description: Calculates the Basal Metabolic Rate (BMR) of a person.
parameters: type: dict
properties: weight: type: float
description: The weight of the person in kilograms.
height: type: float
description: The height of the person in centimeters.
age: type: float
description: The age of the person in years.
gender: type: string
description: The gender of the person. Possible options [male, female, other].
required: weight
height
age
gender
name: calculate_daily_energy_expenditure
description: Calculates the daily energy expenditure based on BMR and activity level.
parameters: type: dict
properties: basal_metabolic_rate: type: float
description: The BMR of the person.
activity_level: type: float
description: The activity level of the person. Possible options [1,2,3,4,5].
required: basal_metabolic_rate
activity_level
name: calculate_nutritional_needs
description: Calculates the nutritional needs of a person based on their weight, height, age, gender, activity level, and goal.
parameters: type: dict
properties: weight: type: float
description: The weight of the person in kilograms.
height: type: float
description: The height of the person in centimeters.
age: type: float
description: The age of the person in years.
gender: type: string
description: The gender of the person. Possible options [male, female, other].
activity_level: type: float
description: The activity level of the person. Possible options [1,2,3,4,5].
goal: type: string
description: The goal of the person. Possible options [lose, gain, maintain].
required: weight
height
age
gender
activity_level
goal