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": "Search for various types of items on Spotify such as albums, artists, episodes, genres, playlists, podcasts, and users using the Spotify scraper API. Supports pagination.", "parameters": {"term": {"description": "The search term for the query.", "type": "str", "default": "Jazz"}, "offset": {"description": "The number of items to skip before starting to collect the result set. Defaults to `0`.", "type": "int, optional", "default": ""}, "type": {"description": "The type of search to perform (e.g., 'album', 'artist'). Defaults to `all`.", "type": "str, optional", "default": ""}, "limit": {"description": "The maximum number of items to return in the response. Defaults to `50`.", "type": "int, optional", "default": ""}}}, {"name": "get_album_metadata", "description": "Fetches full metadata details of a specified album using the Spotify Scraper API.", "parameters": {"albumid": {"description": "The unique ID of the album for which metadata is to be retrieved.", "type": "str", "default": "5Otajf16kZ0zkVZWhu7LtO"}}}, {"name": "fetch_track_details", "description": "Fetches the details of a specific track using the provided track ID from the latest Spotify downloader API.", "parameters": {"track_id": {"description": "The unique identifier of the track to fetch details for.", "type": "str", "default": "2gAKyzcfFIlMYdJ2b836At"}}}]
What are the top 5 albums of the year and can you fetch the details of a track with ID '6hORWb4WXEXZ0fG6YygoUv'?
user
assistant
[{"name": "search", "arguments": {"term": "top albums of the year", "type": "album", "limit": 5}}, {"name": "fetch_track_details", "arguments": {"track_id": "6hORWb4WXEXZ0fG6YygoUv"}}]