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_movies_by_cast_name", "description": "Fetches movies associated with a given cast member's name from the IMDB API.", "parameters": {"cast_name": {"description": "Name of the cast member to search for. Defaults to None.", "type": "str, optional", "default": ""}}}, {"name": "get_movies_by_director", "description": "Gets a list of movies by a specified director using the IMDb API.", "parameters": {"movie_director": {"description": "The name of the director. If not provided, an empty query will be sent.", "type": "str, optional", "default": ""}}}, {"name": "season_episodes", "description": "Fetch episodes for a given season from the Netflix RapidAPI.", "parameters": {"ids": {"description": "Season IDs (separated by commas) for which episodes are to be fetched.", "type": "str", "default": "80077209,80117715"}, "lang": {"description": "Language code for the episodes. Defaults to 'en'.", "type": "str, optional", "default": "en"}, "limit": {"description": "The maximum number of episodes to return. Defaults to 25.", "type": "int, optional", "default": "25"}, "offset": {"description": "The offset for pagination. Defaults to 0.", "type": "int, optional", "default": "0"}}}, {"name": "actors_random", "description": "Fetches a random list of actors from the Movies Database RapidAPI.", "parameters": {"limit": {"description": "The number of random actors to retrieve. Defaults to None, and the API will use its default value if not specified.", "type": "int, optional", "default": ""}}}]
I'm trying to find all the movies directed by Martin Scorsese and the ones starring Robert De Niro. Can you also get me the episodes of the first season of The Sopranos? And while you're at it, fetch me a list of 12 random actors.
user
assistant
[{"name": "get_movies_by_director", "arguments": {"movie_director": "Martin Scorsese"}}, {"name": "get_movies_by_cast_name", "arguments": {"cast_name": "Robert De Niro"}}, {"name": "season_episodes", "arguments": {"ids": "1"}}, {"name": "actors_random", "arguments": {"limit": 12}}]