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": "baseball_league_rankings", "description": "Fetches and returns the baseball league standings for a given league ID.", "parameters": {"league_id": {"description": "The ID of the baseball league for which rankings are to be fetched. League IDs can be retrieved from the Baseball Live Matches endpoint.", "type": "str", "default": "41276"}}}, {"name": "select_race_based_on_id", "description": "Fetches the details of a specific race using its ID from the F1 race schedule API.", "parameters": {"is_id": {"description": "The ID of the race to fetch details for.", "type": "str", "default": "6141c76615d27e0de553b9d7"}}}, {"name": "major_league_soccer_standings", "description": "Fetches the Major League Soccer standings for a given season using the RapidAPI service.", "parameters": {"season": {"description": "The season year for which to retrieve standings. Defaults to None, in which case the latest season's standings are fetched.", "type": "str, optional", "default": ""}}}]
Fetch the details of the 2022 Major League Soccer season standings, then fetch the standings for the 2021 season.
user
assistant
[{"name": "major_league_soccer_standings", "arguments": {"season": "2022"}}, {"name": "major_league_soccer_standings", "arguments": {"season": "2021"}}]