human
Hi, I need to calculate my tax. My income is $50000 and the tax rate is 20%. And, Hi, can you tell me how old I am? My birthdate is 1990-05-15. And, Hi, I need to visit three places today - the grocery store, the bank, and the post office. Can you help me find the best route if I'm driving?
function_call
[{"name": "calculate_tax", "arguments": {"income": 50000, "tax_rate": 20}}, {"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}, {"name": "calculate_route", "arguments": {"locations": ["grocery store", "bank", "post office"], "mode_of_transport": "car"}}]
[{"name": "calculate_tax", "description": "Calculate the tax amount", "parameters": {"type": "object", "properties": {"income": {"type": "number", "description": "The income amount"}, "tax_rate": {"type": "number", "description": "The tax rate in percentage"}}, "required": ["income", "tax_rate"]}}, {"name": "calculate_age", "description": "Calculate the age based on a given birthdate", "parameters": {"type": "object", "properties": {"birthdate": {"type": "string", "description": "The birthdate of the person"}}, "required": ["birthdate"]}}, {"name": "calculate_route", "description": "Calculate the optimal route between multiple locations", "parameters": {"type": "object", "properties": {"locations": {"type": "array", "items": {"type": "string"}, "description": "The locations to visit"}, "mode_of_transport": {"type": "string", "description": "The mode of transport (e.g. car, public transit)"}}, "required": ["locations", "mode_of_transport"]}}]
[{"name": "calculate_tax", "arguments": {"income": 50000, "tax_rate": 20}}, {"name": "calculate_age", "arguments": {"birthdate": "1990-05-15"}}, {"name": "calculate_route", "arguments": {"locations": ["grocery store", "bank", "post office"], "mode_of_transport": "car"}}]