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": "feed_by_username", "description": "Fetches the current Instagram feed for a given username.", "parameters": {"username": {"description": "The Instagram username for which to fetch the feed.", "type": "str", "default": "therock"}, "raw": {"description": "If set to True or '1', returns the raw, unprocessed data feed. Defaults to None.", "type": "bool, optional", "default": ""}}}, {"name": "top_posts_by_subreddit", "description": "Fetches the top posts from a specific subreddit within a given time frame using the Reddit API.", "parameters": {"time": {"description": "The time frame for fetching top posts. Options include `hour`, `day`, `week`, `month`, `year`, and `all`.", "type": "str", "default": "year"}, "subreddit": {"description": "The subreddit name from which to fetch top posts, e.g., `memes`.", "type": "str", "default": "memes"}, "cursor": {"description": "A cursor for pagination to fetch additional posts. Defaults to None.", "type": "str, optional", "default": ""}}}]
Fetch the current Instagram feed for the user 'nasa' and the raw feed for user 'natgeo'. Also, get the top posts from the 'EarthPorn' subreddit from the past week.
user
assistant
[{"name": "feed_by_username", "arguments": {"username": "nasa"}}, {"name": "feed_by_username", "arguments": {"username": "natgeo", "raw": true}}, {"name": "top_posts_by_subreddit", "arguments": {"time": "week", "subreddit": "EarthPorn"}}]