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": "get_team_passing_data", "description": "Fetches passing data for NFL teams for a specified year and side (offense or defense).", "parameters": {"year": {"description": "The year for which the data is to be fetched. Should be between 1920 and the current year.", "type": "int", "default": "2021"}, "side": {"description": "The year for which the data is to be fetched. Should be between 1920 and the current year.", "type": "str", "default": "offense"}}}, {"name": "qualifyingresults", "description": "Fetches the qualifying results for a specific year and round of the Formula 1 season.", "parameters": {"year": {"description": "The year of the Formula 1 season.", "type": "str", "default": "year"}, "round": {"description": "The round of the Formula 1 season.", "type": "str", "default": "round"}}}, {"name": "players_photo", "description": "Retrieves the photo of a soccer player given the player's ID using the Soccerway API.", "parameters": {"player_id": {"description": "The unique identifier of the soccer player.", "type": "int", "default": "177208"}}}, {"name": "player_stats_by_id_and_year", "description": "Retrieves official updated statistics for a given WTA (Women's Tennis Association) player for a specified year. The data is fetched from the Ultimate Tennis API.", "parameters": {"player_id": {"description": "The unique identifier for the WTA player. The ID can be retrieved from the Official WTA Players Rankings endpoint.", "type": "str", "default": "326408"}, "year": {"description": "The year for which to retrieve the player's statistics (e.g., 2022, 2021).", "type": "str", "default": "2022"}}}]
I need the player photo for Lionel Messi from the Soccerway API. Additionally, provide the tennis stats for Serena Williams for the year 2022.
user
assistant
[{"name": "players_photo", "arguments": {"player_id": 15801}}, {"name": "player_stats_by_id_and_year", "arguments": {"player_id": "serena-williams", "year": "2022"}}]