human
I am looking for a mystery book by Agatha Christie. And, Hi, can you tell me the current price of Apple's stock? And, I need to create a new todo item. The title is "Buy groceries", description is "Need to buy milk, bread, and eggs", and the due date is "2022-03-25". And, Hi, I need some help with calculating the tip percentage. I had a bill of $50 and I gave a tip of $10. Can you tell me what percentage of tip I gave?
function_call
[{"name": "search_books", "arguments": {"query": "", "author": "Agatha Christie", "genre": "mystery"}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "create_todo", "arguments": {"title": "Buy groceries", "description": "Need to buy milk, bread, and eggs", "due_date": "2022-03-25"}}, {"name": "calculate_tip_percentage", "arguments": {"bill_amount": 50, "tip_amount": 10}}]
[{"name": "search_books", "description": "Search for books based on title, author, or genre", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search query"}, "author": {"type": "string", "description": "The author of the book"}, "genre": {"type": "string", "description": "The genre of the book"}}}}, {"name": "get_stock_price", "description": "Get the current stock price", "parameters": {"type": "object", "properties": {"symbol": {"type": "string", "description": "The stock symbol, e.g. AAPL"}}, "required": ["symbol"]}}, {"name": "create_todo", "description": "Create a new todo item", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the todo item"}, "description": {"type": "string", "description": "The description of the todo item"}, "due_date": {"type": "string", "description": "The due_date of the todo item"}}, "required": ["title", "due_date"]}}, {"name": "calculate_tip_percentage", "description": "Calculate the tip percentage based on bill amount and tip amount", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_amount": {"type": "number", "description": "The amount of tip given"}}, "required": ["bill_amount", "tip_amount"]}}, {"name": "search_movie", "description": "Search for a movie based on title or keyword", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The title or keyword to search for"}, "year": {"type": "integer", "description": "The release year of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}}, "required": ["query"]}}]
[{"name": "search_books", "arguments": {"query": "", "author": "Agatha Christie", "genre": "mystery"}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "create_todo", "arguments": {"title": "Buy groceries", "description": "Need to buy milk, bread, and eggs", "due_date": "2022-03-25"}}, {"name": "calculate_tip_percentage", "arguments": {"bill_amount": 50, "tip_amount": 10}}]