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": "search", "description": "This function searches for American Football players, teams, and tournaments using the provided search term.", "parameters": {"term": {"description": "The search term to use when searching for American Football players, teams, and tournaments.", "type": "str", "default": "brady"}}}, {"name": "leagues", "description": "Retrieves a list of sports leagues using the provided RapidAPI key.", "parameters": {"lang": {"description": "Language code for the response (e.g., 'en' for English).", "type": "str", "default": "en"}, "sp": {"description": "Sport identifier.", "type": "int", "default": "1"}}}, {"name": "teamnextmatches", "description": "Retrieve upcoming matches for a specific American Football team using its ID and page number.", "parameters": {"is_id": {"description": "ID of the team for which to retrieve upcoming matches.", "type": "int", "default": 4294}, "page": {"description": "Zero-based page number for pagination of results.", "type": "int", "default": ""}}}]
Please provide a list of leagues in Spanish for sport 789 and also find details about the team 'Packers'. Additionally, could you check the next matches for the team with ID 101?
user
assistant
[{"name": "leagues", "arguments": {"lang": "es", "sp": 789}}, {"name": "search", "arguments": {"term": "Packers"}}, {"name": "teamnextmatches", "arguments": {"is_id": 101, "page": 0}}]