Create User Profile
create_user_profileCreate a user profile with demographic and physiological data for accurate EER calculations, choosing session or persistent storage as needed.
Instructions
Create a user profile for EER calculations with optional persistent storage.
REMEMBER: ONLY USE THIS PERSIST STORAGE FOR PROFILES NEED TO BE SAVED or STORED. BY DEFAULT USE VIRTUAL STORAGE!!!!!
You can ask the user if they want to save the profile or not.
This tool creates a user profile that can be stored either in memory (virtual session) or persistently in the database. Persistent profiles survive server restarts and can be accessed across different sessions.
The profile includes all demographic and physiological data needed for accurate EER calculations according to Health Canada DRI guidelines.
Use this tool when:
Setting up user profiles by sdjusting use_persistent_storage for repeated EER calculations
Creating profiles for multiple household members
Storing long-term nutrition analysis data
Building nutrition tracking applications
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | CreateUserProfileInput containing: - profile_id: Unique identifier for the profile - age: Age in years (1-120) - gender: "male" or "female" - height_cm: Height in centimeters (50-250) - weight_kg: Weight in kilograms (10-300) - pal_category: Physical activity level ("inactive", "low_active", "active", "very_active") - pregnancy_status: For females ("not_pregnant", "first_trimester", "second_trimester", "third_trimester") - lactation_status: For females ("not_lactating", "lactating_0_6_months", "lactating_7_12_months") - gestation_weeks: Required for 2nd/3rd trimester (1-42) - pre_pregnancy_bmi: Required for pregnancy calculations (10-50) - use_persistent_storage: True for database storage, False for session storage |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||