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_leap_year", "description": "Checks if a year is a leap year.", "parameters": {"year": {"description": "The year to check.", "type": "int"}}}, {"name": "is_hotel_available", "description": "Checks the availability of a hotel for a given date range.", "parameters": {"hotel": {"description": "The name of the hotel.", "type": "str"}, "city": {"description": "The city where the hotel is located.", "type": "str"}, "checkin": {"description": "The check-in date in the format \"YYYY-MM-DD\".", "type": "str"}, "checkout": {"description": "The check-out date in the format \"YYYY-MM-DD\".", "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"}}}]
Simulate a database query for the 'Users' table with conditions {'age': 30, 'city': 'Berlin'} and determine if 2024 is a leap year.
user
assistant
[{"name": "simulate_query_database", "arguments": {"table": "Users", "conditions": [{"age": 30, "city": "Berlin"}]}}, {"name": "is_leap_year", "arguments": {"year": 2024}}]