human
I am looking for books by J.K. Rowling. And, Hi, I need to know the distance between New York and Los Angeles.
function_call
[{"name": "search_books", "arguments": {"query": "J.K. Rowling"}}, {"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}]
[{"name": "search_books", "description": "Search for books by title or author", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query (book title or author)"}}, "required": ["query"]}}, {"name": "calculate_distance", "description": "Calculate distance between two locations", "parameters": {"type": "object", "properties": {"start_location": {"type": "string", "description": "The starting location"}, "end_location": {"type": "string", "description": "The ending location"}}, "required": ["start_location", "end_location"]}}, {"name": "calculate_loan_payment", "description": "Calculate the monthly loan payment", "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": "search_books", "arguments": {"query": "J.K. Rowling"}}, {"name": "calculate_distance", "arguments": {"start_location": "New York", "end_location": "Los Angeles"}}]