I am looking for books by J.K. Rowling.
user
{"name": "search_books", "arguments": {"query": "J.K. Rowling"}}
[{"type": "function", "function": {"name": "search_books", "description": "Search for books based on title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query to find books"}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "calculate_loan_payment", "description": "Calculate the monthly payment for a loan", "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 years"}}, "required": ["loan_amount", "interest_rate", "loan_term"]}}}]