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": "leaguegroups", "description": "Fetches the groups in a specified basketball league tournament for a given season.", "parameters": {"seasonid": {"description": "The season ID for which to retrieve the league's groups.", "type": "int", "default": 22873}, "tournamentid": {"description": "The unique tournament ID for which to retrieve the league's groups.", "type": "int", "default": 441}}}, {"name": "races", "description": "Retrieves a list of races and session details for a specified F1 season.", "parameters": {"season_id": {"description": "The ID of the F1 season for which to list races and session details.", "type": "int", "default": "2020"}}}]
Get details of all races in the F1 season 2020.
user
assistant
[{"name": "races", "arguments": {"season_id": 2020}}]