You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "target_heart_rate", "description": "Calculates the target heart rate range for cardiovascular exercise using the Karvonen method based on the user's age and fitness level.", "parameters": {"age": {"description": "The age of the user in years.", "type": "int", "default": "27"}, "fitness_level": {"description": "The fitness level of the user. Acceptable values are \"beginner\", \"intermediate\", and \"advanced\".", "type": "str", "default": "beginner"}}}, {"name": "gethospitalsbyname", "description": "Fetches a list of U.S. hospitals that match the given name using the RapidAPI service.", "parameters": {"name": {"description": "The name or partial name of the hospital to search for.", "type": "str", "default": "presbyterian"}}}, {"name": "view_all_food_items", "description": "Retrieves a comprehensive list of all available food items from the API with an optional limit on the number of items.", "parameters": {"limit": {"description": "The maximum number of food items to retrieve. Defaults to 10.", "type": "int, optional", "default": "10"}}}]
What is the target heart rate for a 30-year-old beginner? Also, retrieve a list of hospitals named 'Mayo Clinic', and display all available food items from the API with a limit of 20.
user
assistant
[{"name": "target_heart_rate", "arguments": {"age": 30, "fitness_level": "beginner"}}, {"name": "gethospitalsbyname", "arguments": {"name": "Mayo Clinic"}}, {"name": "view_all_food_items", "arguments": {"limit": 20}}]