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": "Performs a search query to the Spotify API using the RapidAPI service.", "parameters": {"type": {"description": "The type of search to perform. Options include 'multi', 'albums', 'artists', 'episodes', 'genres', 'playlists', 'podcasts', 'tracks', 'users'.", "type": "str", "default": "multi"}, "q": {"description": "The search query string.", "type": "str", "default": ""}, "offset": {"description": "The index of the first result to return. Defaults to 0.", "type": "int, optional", "default": "0"}, "limit": {"description": "The maximum number of results to return. Defaults to 10.", "type": "int, optional", "default": "10"}, "numberoftopresults": {"description": "The number of top results to return. Defaults to 5.", "type": "int, optional", "default": "5"}}}, {"name": "get_user_playlists", "description": "Fetch all public playlists of a specific user from the Spotify API.", "parameters": {"user_id": {"description": "The ID of the user whose playlists are to be fetched.", "type": "str", "default": "cruilla"}}}, {"name": "top_labels", "description": "Fetch the YEAR-END Top Labels chart information from the Billboard API.", "parameters": {"year": {"description": "The year for which to retrieve the top labels chart. Format should be YYYY. Defaults to '2022'.", "type": "str", "default": "2022"}}}]
Get the top 10 artists related to 'hip-hop' and the playlists of user 'djmaster'.
user
assistant
[{"name": "search", "arguments": {"type": "artists", "q": "hip-hop", "limit": 10}}, {"name": "get_user_playlists", "arguments": {"user_id": "djmaster"}}]