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": "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": "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": "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"}}}]
Query the 'inventory' table to find items with 'quantity' less than 10 and 'expiry_date' before December 31, 2023.
user
assistant
[{"name": "simulate_query_database", "arguments": {"table": "inventory", "conditions": [{"quantity": "<10"}, {"expiry_date": "<2023-12-31"}]}}]