human
Hi, I was born on 1990-05-15. Can you tell me how old I am today? And, Hi, I need help with calculating a tip. My bill amount is $100 and I want to leave a 15% tip.
function_call
[{"name": "calculate_age", "arguments": {"birth_date": "1990-05-15", "current_date": "2022-03-15"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}]
[{"name": "calculate_age", "description": "Calculate the age based on the birth date", "parameters": {"type": "object", "properties": {"birth_date": {"type": "string", "format": "date", "description": "The birth date"}, "current_date": {"type": "string", "format": "date", "description": "The current date"}}, "required": ["birth_date"]}}, {"name": "generate_qr_code", "description": "Generate a QR code for a given text", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to encode in the QR code"}}, "required": ["text"]}}, {"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 be added"}}, "required": ["bill_amount", "tip_percentage"]}}, {"name": "send_email", "description": "Send an email to a recipient", "parameters": {"type": "object", "properties": {"recipient": {"type": "string", "description": "The email address of the recipient"}, "subject": {"type": "string", "description": "The subject of the email"}, "message": {"type": "string", "description": "The content of the email"}}, "required": ["recipient", "subject", "message"]}}]
[{"name": "calculate_age", "arguments": {"birth_date": "1990-05-15", "current_date": "2022-03-15"}}, {"name": "calculate_tip", "arguments": {"bill_amount": 100, "tip_percentage": 15}}]