human
Hi, I need help with calculating a tip. My bill amount is $50 and I want to give a 20% tip. And, Hi, I need help with calculating my loan payment. Sure, the principal amount is $200,000, the annual interest rate is 3.5%, and the loan term is 30 years. And, I am looking for a book but I can't remember the title. I know it's a mystery novel by Agatha Christie.
function_call
[{"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}, {"name": "calculate_loan_payment", "arguments": {"principal": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "search_books", "arguments": {"author": "Agatha Christie", "genre": "mystery"}}]
[{"name": "calculate_tip", "description": "Calculate the tip amount based on the bill and tip percentage", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The bill amount"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to be given"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "parameters": {"type": "object", "properties": {"principal": {"type": "number", "description": "The principal amount of the loan"}, "interest_rate": {"type": "number", "description": "The annual interest rate of the loan"}, "loan_term": {"type": "integer", "description": "The loan term in years"}}, "required": ["principal", "interest_rate", "loan_term"]}}, {"name": "get_movie_details", "description": "Get details of a specific movie", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}}, "required": ["title"]}}, {"name": "search_books", "description": "Search for books based on various criteria", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the book"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the book"}}}}]
[{"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}, {"name": "calculate_loan_payment", "arguments": {"principal": 200000, "interest_rate": 3.5, "loan_term": 30}}, {"name": "search_books", "arguments": {"author": "Agatha Christie", "genre": "mystery"}}]