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": "top_artists_male", "description": "Fetches the YEAR-END Top Artists - Male chart information from the Billboard API.", "parameters": {"year": {"description": "The year for which to retrieve the chart information in 'YYYY' format. Defaults to '2022' if not provided.", "type": "str", "default": "2022"}}}, {"name": "billboard_global_excl_us", "description": "Fetches the Billboard Global Excl. US chart for a specified date using the RapidAPI service.", "parameters": {"date": {"description": "The date for which to retrieve the Billboard Global Excl. US chart, formatted as 'YYYY-MM-DD'. Available data starts from September 19, 2020.", "type": "str", "default": "2020-09-19"}}}, {"name": "list_top_tracks", "description": "Fetches the weekly or daily top tracks from Spotify for a specified region and date.", "parameters": {"region": {"description": "The region code in ISO 3166 alpha-2 format (e.g., 'US'). Defaults to 'global'.", "type": "str, optional", "default": ""}, "type": {"description": "The time span for the chart. Defaults to 'weekly'.", "type": "str, optional", "default": ""}, "date": {"description": "The date in 'YYYY-MM-DD' format. Leave blank to get the latest chart.", "type": "str, optional", "default": ""}}}, {"name": "list_top_artists", "description": "Fetches the top artists from Spotify based on the specified criteria.", "parameters": {"type": {"description": "Time span for the chart, either `weekly` or `daily`. Defaults to `weekly`.", "type": "str, optional", "default": ""}, "date": {"description": "Date for the chart in `YYYY-MM-DD` format. Leave blank to get the latest chart.", "type": "str, optional", "default": ""}, "region": {"description": "Region code in ISO 3166 alpha-2 format (e.g., `US`). Defaults to `global`.", "type": "str, optional", "default": ""}}}]
Can you tell me the top male artists of 2021 and also the top tracks in the US for the same year?
user
assistant
[{"name": "top_artists_male", "arguments": {"year": "2021"}}, {"name": "list_top_tracks", "arguments": {"region": "US", "date": "2021-12-31"}}]