human
Hi, I need to convert a temperature from Celsius to Fahrenheit. The temperature is 30 degrees Celsius. And, Hi, I just had a meal at a restaurant and the bill was $50. I want to leave a 15% tip. Can you help me calculate how much that would be? And, Hi, I saw a jacket I liked in a store. It was priced at $200 and they are offering a 20% discount. Can you tell me how much I will have to pay after the discount? And, I need to create a new todo item. The task is to buy groceries, the due date is tomorrow, and the priority is high.
function_call
[{"name": "convert_temperature", "arguments": {"temperature": 30, "from_unit": "Celsius", "to_unit": "Fahrenheit"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}, {"name": "calculate_discount", "arguments": {"price": 200, "discount_percentage": 20}}, {"name": "create_todo", "arguments": {"task": "buy groceries", "due_date": "tomorrow", "priority": "high"}}]
[{"name": "convert_temperature", "description": "Convert temperature from one unit to another", "parameters": {"type": "object", "properties": {"temperature": {"type": "number", "description": "The temperature value"}, "from_unit": {"type": "string", "description": "The unit to convert from"}, "to_unit": {"type": "string", "description": "The unit to convert to"}}, "required": ["temperature", "from_unit", "to_unit"]}}, {"name": "calculate_tip", "description": "Calculate the tip amount for a restaurant bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the restaurant bill"}, "tip_percentage": {"type": "number", "description": "The percentage tip to calculate"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "calculate_loan_emis", "description": "Calculate monthly loan EMIs (Equated Monthly Installments)", "parameters": {"type": "object", "properties": {"loan_amount": {"type": "number", "description": "The loan amount"}, "interest_rate": {"type": "number", "description": "The annual interest rate"}, "loan_term": {"type": "integer", "description": "The loan term in months"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}, {"name": "calculate_discount", "description": "Calculate the discount on a product", "parameters": {"type": "object", "properties": {"price": {"type": "number", "description": "The original price of the product"}, "discount_percentage": {"type": "number", "description": "The discount percentage"}}, "required": ["price", "discount_percentage"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The task to be done"}, "due_date": {"type": "string", "format": "date", "description": "The due date of the task"}, "priority": {"type": "string", "enum": ["high", "medium", "low"], "description": "The priority of the task"}}, "required": ["task", "due_date"]}}]
[{"name": "convert_temperature", "arguments": {"temperature": 30, "from_unit": "Celsius", "to_unit": "Fahrenheit"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 15}}, {"name": "calculate_discount", "arguments": {"price": 200, "discount_percentage": 20}}, {"name": "create_todo", "arguments": {"task": "buy groceries", "due_date": "tomorrow", "priority": "high"}}]