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": "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": "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"}}}]
Can you simulate a query on the 'customers' table where the city is 'New York' and the status is 'active'? Also, I need to calculate the total cost for items: 'apple', 'banana', and 'orange' with respective quantities of 3, 2, and 5 and prices of 0.5, 0.25, and 0.75.
user
assistant
[{"name": "simulate_query_database", "arguments": {"table": "customers", "conditions": [{"column": "city", "value": "New York"}, {"column": "status", "value": "active"}]}}, {"name": "calculate_order_total", "arguments": {"items": ["apple", "banana", "orange"], "quantities": [3, 2, 5], "prices": [0.5, 0.25, 0.75]}}]