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": "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"}}}, {"name": "reserve_hotel_room", "description": "Reserves a hotel room with the specified details.", "parameters": {"room_type": {"description": "The type of room to reserve.", "type": "str"}, "nightly_rate": {"description": "The nightly rate for the room.", "type": "float"}, "checkin_date": {"description": "The check-in date in the format 'YYYY-MM-DD'.", "type": "str"}, "checkout_date": {"description": "The check-out date in the format 'YYYY-MM-DD'.", "type": "str"}, "guest_id": {"description": "The unique identifier for the guest.", "type": "str"}, "promo_code": {"description": "A promotional code for a discount. Defaults to None.", "type": "str, optional"}}}, {"name": "project_population", "description": "Projects the population size after a specified number of years.", "parameters": {"current_pop": {"description": "The current population size.", "type": "int", "default": 1.2}, "num_years": {"description": "The number of years into the future to make the projection.", "type": "int", "default": 1.2}, "annual_growth": {"description": "The annual population growth rate as a percentage. Defaults to 1.2.", "type": "float, optional"}}}, {"name": "project_investment_growth", "description": "Projects the growth of an investment over a specified number of years.", "parameters": {"principal": {"description": "The initial investment amount.", "type": "float", "default": true}, "annual_addition": {"description": "The amount added to the investment annually.", "type": "float", "default": true}, "years": {"description": "The number of years to project the investment growth.", "type": "int"}, "return_rate": {"description": "The annual return rate as a decimal (e.g., 0.07 for 7%).", "type": "float"}, "inflation": {"description": "A list of annual inflation rates as decimals.", "type": "List[float]"}, "inflation_adjusted": {"description": "Whether to adjust the final value for inflation. Defaults to True.", "type": "bool, optional"}}}, {"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": "calculate_order_total", "description": "Calculates the total cost of an order based on the items, quantities, and prices.", "parameters": {"items": {"description": "A list of item names.", "type": "List[str]"}, "quantities": {"description": "A list of corresponding quantities for each item.", "type": "List[int]"}, "prices": {"description": "A list of corresponding prices for each item.", "type": "List[float]"}}}, {"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"}}}, {"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"}}}]
Calculate the total cost of an order with items ['item1', 'item2', 'item3'] in quantities [2, 3, 1] and prices [10.99, 5.99, 15.99].
user
assistant
[{"name": "calculate_order_total", "arguments": {"items": ["item1", "item2", "item3"], "quantities": [2, 3, 1], "prices": [10.99, 5.99, 15.99]}}]