human
Hi, I need to convert 1000 USD to Euros. Can you help me with that? And, Hi, I need help with calculating a tip. My bill amount is $50 and I want to leave a 20% tip. And, Hi, can you tell me the current stock price of Apple? And, What does the word 'serendipity' mean?
function_call
[{"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "get_definition", "arguments": {"word": "serendipity"}}]
[{"name": "convert_currency", "description": "Convert an amount from one currency to another", "parameters": {"type": "object", "properties": {"amount": {"type": "number", "description": "The amount to convert"}, "from_currency": {"type": "string", "description": "The currency to convert from"}, "to_currency": {"type": "string", "description": "The currency to convert to"}}, "required": ["amount", "from_currency", "to_currency"]}}, {"name": "calculate_tip", "description": "Calculate the tip amount for a bill", "parameters": {"type": "object", "properties": {"bill_amount": {"type": "number", "description": "The total amount of the bill"}, "tip_percentage": {"type": "number", "description": "The percentage of tip to add"}}, "required": ["bill_amount", "tip_percentage"]}}, {"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": "calculate_area", "description": "Calculate the area of a shape", "parameters": {"type": "object", "properties": {"shape": {"type": "string", "description": "The shape for which the area should be calculated"}, "dimensions": {"type": "object", "properties": {"length": {"type": "number", "description": "The length of the shape"}, "width": {"type": "number", "description": "The width of the shape"}}, "required": ["length", "width"]}}, "required": ["shape", "dimensions"]}}, {"name": "get_definition", "description": "Get the definition of a word", "parameters": {"type": "object", "properties": {"word": {"type": "string", "description": "The word to get the definition for"}}, "required": ["word"]}}]
[{"name": "convert_currency", "arguments": {"amount": 1000, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 50, "tip_percentage": 20}}, {"name": "get_stock_price", "arguments": {"symbol": "AAPL"}}, {"name": "get_definition", "arguments": {"word": "serendipity"}}]