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": "is_valid_email", "description": "Checks if an email address is valid.", "parameters": {"email": {"description": "The email address to validate.", "type": "str"}}}, {"name": "get_city_from_zipcode", "description": "Retrieves the city name for a given ZIP code using the Ziptastic API.", "parameters": {"zipcode": {"description": "The ZIP code to look up.", "type": "str"}}}, {"name": "analyze_social_group_dynamics", "description": "Analyzes the social dynamics within a group based on the personality traits and group size.", "parameters": {"total": {"description": "The total group size.", "type": "int"}, "extroverts": {"description": "The number of extroverted members in the group.", "type": "int"}, "introverts": {"description": "The number of introverted members in the group.", "type": "int"}}}, {"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": "simulate_query_database", "description": "Simulates querying a database based on certain conditions.", "parameters": {"table": {"description": "Name of the table to query.", "type": "str"}, "conditions": {"description": "Conditions for the query, each condition is a dictionary.", "type": "list"}}}, {"name": "is_leap_year", "description": "Checks if a year is a leap year.", "parameters": {"year": {"description": "The year to check.", "type": "int"}}}, {"name": "structural_analysis", "description": "Performs structural analysis on a building based on its ID, floor numbers, and analysis mode.", "parameters": {"building_id": {"description": "The unique identifier of the building.", "type": "str", "default": "static"}, "floor_numbers": {"description": "The list of floor numbers to be analyzed.", "type": "List[int]", "default": "static"}, "analysis_mode": {"description": "The mode of analysis, either \"static\" or \"dynamic\". Defaults to \"static\".", "type": "str, optional"}}}]
Calculate the daily calorie intake for a 30-year-old female weighing 60 kg, 165 cm tall, with an activity level of 3, aiming to maintain weight. Simulate a database query for a 'users' table with conditions {'age': 30, 'sex': 'female'}. Perform a dynamic structural analysis on building 'B123' for floors 5, 10, and 15.
user
assistant
[{"name": "calculate_calorie_intake", "arguments": {"weight_kg": 60, "height_cm": 165, "age": 30, "sex": "female", "activity_level": 3, "goal": "maintain"}}, {"name": "simulate_query_database", "arguments": {"table": "users", "conditions": [{"age": 30, "sex": "female"}]}}, {"name": "structural_analysis", "arguments": {"building_id": "B123", "floor_numbers": [5, 10, 15], "analysis_mode": "dynamic"}}]