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": "popular_posts", "description": "Fetches popular posts from Reddit based on the given sort type.", "parameters": {"sort": {"description": "The sorting method for the posts. Accepted values are 'new' and 'hot'.", "type": "str", "default": "new"}, "cursor": {"description": "An optional cursor for pagination to fetch the next set of results. Defaults to None.", "type": "str, optional", "default": ""}}}, {"name": "get_greet", "description": "Generates a greeting message based on the provided name and cringe level, using the RapidAPI greet generator.", "parameters": {"name": {"description": "The name to be included in the greeting.", "type": "str", "default": "Amir"}, "cringelevel": {"description": "The level of cringiness for the greeting.", "type": "str", "default": "5"}}}, {"name": "user_by_username", "description": "Fetches user data from Instagram using a given username via the Toolbench RapidAPI.", "parameters": {"username": {"description": "The Instagram username for which to fetch user data.", "type": "str", "default": ""}}}]
Fetch user data for Instagram accounts with usernames 'james' and 'sarah'.
user
assistant
[{"name": "user_by_username", "arguments": {"username": "james"}}, {"name": "user_by_username", "arguments": {"username": "sarah"}}]