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": "teams_detail", "description": "Fetch detailed information about a specific team using its team ID.", "parameters": {"teamid": {"description": "The unique identifier of the team for which details are needed. This ID can be obtained from various endpoints like /teams/search, /matches/detail, etc.", "type": "int", "default": "38"}}}, {"name": "teamlastevents", "description": "Fetches the last events for a specific team using the MMA RapidAPI.", "parameters": {"page": {"description": "Zero-based page number to paginate through the events.", "type": "int", "default": ""}, "is_id": {"description": "The ID of the team for which the last events are to be retrieved.", "type": "int", "default": 465171}}}, {"name": "search_team", "description": "Searches for a team using the provided team name and returns the response from the API.", "parameters": {"name": {"description": "The name of the team to search for.", "type": "str", "default": "New York Yankees"}}}, {"name": "teamimage", "description": "Fetch the image in PNG format for a given team using the MMA RapidAPI.", "parameters": {"is_id": {"description": "The ID of the team for which the image is being retrieved.", "type": "int", "default": 469994}}}]
Find the detailed information about the team with ID 2829 and get the last events for the team with ID 3031.
user
assistant
[{"name": "teams_detail", "arguments": {"teamid": 2829}}, {"name": "teamlastevents", "arguments": {"page": 0, "is_id": 3031}}]